Andrew Tridgell
f43f5900bc
Telemetry: make it possible to use UART2 on APM2
...
building with TELEMETRY_UART2=ENABLED allows you to use the solder
bridge on the APM2 to enable telemetry on UART2. This allows both USB
telemetry and a radio at the same time.
13 years ago
Andrew Tridgell
b6a475f6a5
MAVLink: make APM build with MAVLink 1.0 possible with arduino GUI
13 years ago
Andrew Tridgell
85ba978a65
ready for 2.33 release
13 years ago
Andrew Tridgell
7b50724f60
MAVLink: allow for find grained stream rate control
...
streams can now be requested at any multiple of 20ms. So if you ask
for a stream at 7Hz then you will get it at close to 7Hz.
13 years ago
Andrew Tridgell
86cc7a5e1d
APM: enable AP_Declination by default
13 years ago
Andrew Tridgell
9d193f06c9
APM: Change version to 2.32
13 years ago
Andrew Tridgell
1c934dc7ef
APM: increase ArduPlane version to 2.31
13 years ago
Andrew Tridgell
989304fb47
APM: enable the new offset nulling in APM
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Michael Oborne
3944c1e665
update AP version to 2.30
13 years ago
Andrew Tridgell
2a03a0584f
AP_Declination: disable library when AUTOMATIC_DECLINATION is not ENABLED
...
unfortunately this library was causing avrdude to fail to load the hex
to my APM2. Until we work out why, it's disabled.
13 years ago
Adam M Rivera
d3667faef4
AP_Declination: Added call to compass.set_initial_location if the compass is enabled when the 3D fix is obtained.
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
13 years ago
Andrew Tridgell
371677610d
APM: avoid fetching the DCM matrix twice
...
also no special case for quaternions
13 years ago
Andrew Tridgell
e39c3cb9d2
APM: make it possible to build ArduPlane with quaternion support
13 years ago
rmackay9
02cf07bb6b
ArduPlane - updated to use new filter library
13 years ago
rmackay9
e1114bf7f7
ArduPlane - added Filter.h to unbreak the build!
13 years ago
rmackay9
21d7a77009
ArduPlane - switch sonar to use new mode filter from filter library
13 years ago
Andrew Tridgell
0248b48d30
allow MAG_ENABLE to be changed in flight
...
this disables the compass in DCM if MAG_ENABLE is changed in
flight. Without this we would use a fixed yaw once the compass is
disabled
This also makes sure we don't pass the compass to DCM till we have
done a read. This ensures we have a good compass fix for the initial
DCM heading
13 years ago
Andrew Tridgell
330ff5dc8b
APM: added some comments related to hold_course
...
hold_course is either -1 (for disabled) or a course to hold for
takeoff/landing. This makes the code a bit clearer.
It also resets hold_course in all non-auto modes, to ensure it isn't
used
13 years ago
Andrew Tridgell
bc0ed62aa9
adapt mainline APM code to AP_Param
13 years ago
Michael Oborne
9ca6668c1b
fix SITL attitude hil
13 years ago
analoguedevices
418f5ea31e
Increment version number in anticipation of a firmware hex push.
13 years ago
Doug Weibel
797e0e27a9
Additional commenting on global variables
...
First pass done.
13 years ago
Doug Weibel
b4e58b50ee
Additional commenting on global variables
13 years ago
Doug Weibel
0306bf97a0
Just a little more commenting work on global variables
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Doug Weibel
892f24ac5c
Adding comments for global variables
13 years ago
Doug Weibel
4de2155845
Tweak to FBW min altitude
...
Patch from Yury
13 years ago
Andrew Tridgell
cd3729d993
APM: added error checking on barometer read
...
if the barometer is dead and the GPS has a fix, use the GPS for
altitude
13 years ago
Andrew Tridgell
98353b7ba8
APM: added error checking on compass read
13 years ago
Andrew Tridgell
3cb96fb8af
APM: convert to new I2C library
13 years ago
analoguedevices
b8917b58bd
Added contributor names, removed "alpha" from firmware name
13 years ago
Andrew Tridgell
e687ce9b3d
mainloop_count should be uint16_t
13 years ago
Andrew Tridgell
89561d49d0
always declare a timer_scheduler
...
we should always run this code
13 years ago
Andrew Tridgell
df094ce463
fixed airspeed sensor for ArduPlane on APM2
...
we were trying to use a non-existant ADC chip!
13 years ago
Andrew Tridgell
f6f808357c
removed AperiodicProcess code
...
this code was never being used, and was more complex than it was
worth.
13 years ago
Andrew Tridgell
fc495ce6a7
geofence: added fence status reporting and faster altitude check
13 years ago
Andrew Tridgell
3b148c87d5
geofence: main geo-fence code
...
this implements the primary logic of geo-fencing
13 years ago
Andrew Tridgell
960d6ee38a
removed an unused variable
13 years ago
Andrew Tridgell
888d6226b2
fixed two more CONFIG_HARDWARE #ifdef bugs
13 years ago
Andrew Tridgell
78e8fbff9c
fixed hardware config check for barometer
13 years ago
Andrew Tridgell
011110e1dd
airspeed: use floating point values and better averaging in zero_airspeed()
...
this makes the calibration of airspeed a bit more accurate, and
prevents truncation of airspeed values
13 years ago
Pat Hickey
a99a1dbc9a
ArduPlane: update AP_Baro construtors and initializers
13 years ago
Pat Hickey
04ea979331
ArduPlane: Rename APM_BMP085 classes to AP_Baro_BMP085 classes
13 years ago
Doug Weibel
2ef4c79a7c
Minimum ground speed patch from Claudio Natoli. Thanks Claudio!
...
This patch will boost the target airspeed as necessary to keep the ground speed above a parameter value - param_min_groundspeed. Airspeed is still limited to FBW-max. Setting min_groundspeed to zero (default) disables the feature.
13 years ago
Pat Hickey
ab56a764d3
ArduPlane: rev version number from 2.26 to 2.27 Alpha
13 years ago
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
13 years ago
Andrew Tridgell
7def0e98e8
USB-MUX: auto-switch telemetry port based on UXB mux for ArduPlane
...
when USB is unplugged, switch baud rate to the SERIAL3_BAUD rate from
EEPROM
13 years ago
Andrew Tridgell
ffba37d599
desktop: first version of register level SITL support
...
this adds register level emulation of the ADS7844 and the RC
input/output hardware on the APM1, allowing for SITL testing without
enabling HIL in the code
13 years ago
Andrew Tridgell
1c20efe4b8
re-organiser sensor declarations
...
this tries to make the #ifdef nesting easier to understand
13 years ago