Randy Mackay
fff5ec09eb
AP_Compass: fix consistent check for less than three compasses
...
Also use vector functions where available
Use get_field_milligause instead of just get_field
2015-09-16 15:11:01 +09:00
Jonathan Challinger
87bbf1a487
AP_Compass: add consistent() function
2015-09-16 15:10:27 +09:00
Randy Mackay
39340e70f8
Math: add Vector2 is_zero method
2015-09-16 15:10:25 +09:00
Andrew Tridgell
094b9cb35e
AP_TECS: reformat using astyle
2015-09-16 14:24:45 +10:00
Andrew Tridgell
36432e6515
AP_TECS: use climb rate filter consistently between DCM and EKF
...
we should use baro height not hgt_afe for the climb rate filter. This
makes the climb rate consistent with the one from the EKF. The lidar
correction comes in with the demanded height, not the observed height
2015-09-16 14:24:44 +10:00
Randy Mackay
bc06d67645
AP_Camera: fix configure command id sent to components
...
Also removed unnecessary setting of target system, component and
confirmation and minor formatting fix
2015-09-16 13:06:46 +09:00
squilter
8391764c60
AP_Camera: add support for do_digicam_x via command_long
2015-09-16 13:06:44 +09:00
Grant Morphett
b2751d876c
AP_AHRS: Fixed spelling error in parameter desc.
2015-09-16 09:33:30 +09:00
Grant Morphett
417188d7eb
APM_Control: Fixed spelling error in parameter desc.
2015-09-16 09:33:27 +09:00
Julien BERAUD
5602e4055b
AP_Compass_AK8963: Fix Rotation on the Bebop
2015-09-15 14:45:17 +09:00
Andrew Tridgell
fa9ff5b604
AP_Compass: added parameter for compass calibration fitness threshold
2015-09-14 17:01:14 +10:00
Andrew Tridgell
eea54c9e09
DataFlash: fixed flymaple build
2015-09-14 16:44:45 +10:00
Andrew Tridgell
5aa54be718
GCS_MAVLink: send SCALED_PRESSURE3 for 3 baros
2015-09-14 14:27:42 +10:00
Andrew Tridgell
afe1fce94e
GCS_MAVLink: regenerate headers
2015-09-14 14:27:42 +10:00
Andrew Tridgell
91623322f9
GCS_MAVLink: added SCALED_PRESSURE3
2015-09-14 14:27:41 +10:00
Andrew Tridgell
a5462fec0b
AP_Baro: allow selection of primary barometer and add 3rd baro
...
this is useful for external I2C barometers on a PH2
2015-09-14 14:27:41 +10:00
Andrew Tridgell
61441ab35d
HAL_Linux: fixed apm2 build
2015-09-14 14:22:16 +10:00
Andrew Tridgell
bf001f19ff
HAL_Linux: don't panic on runtime failures
2015-09-14 14:22:16 +10:00
Andrew Tridgell
582318448f
AP_HAL: make new GPIO functions optional
...
not available on all boards
2015-09-14 14:22:16 +10:00
Andrew Tridgell
e0db1ad93e
AP_Notify: added support for raspilot LED
2015-09-14 14:22:16 +10:00
raspilot
9f91eb020e
AP_HAL_Linux: new files for raspilot
2015-09-14 14:22:16 +10:00
raspilot
30a2fe0857
AP_HAL_Linux: added scheduler hooks for raspilot
2015-09-14 14:22:16 +10:00
raspilot
25cddbcbaa
AP_HAL_Linux: added SPI support for raspilot
2015-09-14 14:22:16 +10:00
raspilot
7d329205ec
AP_HAL_Linux: added tonealarm support for raspilot
2015-09-14 14:22:16 +10:00
raspilot
a6736d8e61
AP_HAL_Linux: fixed ublox debug message
2015-09-14 14:22:16 +10:00
raspilot
444081d38d
AP_HAL_Linux: added support for raspilot objects
2015-09-14 14:22:16 +10:00
raspilot
f057fe3d02
AP_HAL_Linux: added support for raspilot GPIO
2015-09-14 14:22:15 +10:00
raspilot
9a73df1bea
AP_HAL_Linux: added support for raspilot RCInput
2015-09-14 14:22:15 +10:00
raspilot
1421cf600a
AP_InertialSensor: added support for raspilot
2015-09-14 14:22:15 +10:00
Lucas De Marchi
309e75f9ac
AP_Compass: LSM303D: use c++11 initializer to avoid Wreorder
2015-09-14 14:22:15 +10:00
Lucas De Marchi
3a017c8702
AP_Compass: LSM303D: rename members to follow convention
...
Make the members have similar names as HMC5843 driver and prepend
underscore on private fields.
2015-09-14 14:22:15 +10:00
raspilot
19b4f5559a
AP_Compass: added LSM303D driver
2015-09-14 14:22:15 +10:00
raspilot
6df83f46c5
AP_HAL: new GPIO APIs
2015-09-14 14:22:15 +10:00
raspilot
dcc7cf2739
AP_HAL: raspilot board type
2015-09-14 14:22:15 +10:00
Andrew Tridgell
76aa1a9704
SITL: ensure zero rotor speed with ignition off in gas heli
2015-09-14 12:46:04 +10:00
Andrew Tridgell
6fbe88ba3a
AP_GPS: improved fake ublox to give enough for EKF health
2015-09-14 11:36:15 +10:00
Andrew Tridgell
e87139eb32
AP_GPS: fixed a build warning
2015-09-14 11:36:10 +10:00
Andrew Tridgell
43ac3f86c5
DataFlash: added RNFD logging and 3 baros
2015-09-13 11:29:59 +10:00
Andrew Tridgell
8538aa9840
AP_Rangefinder: allow for up to 4 rangefinders
2015-09-13 11:29:56 +10:00
Daniel Nugent
58b7bf1588
AC_PrecLand: add companion computer implementation
2015-09-11 20:56:08 +09:00
Daniel Nugent
2f92876865
AC_PrecLand: remove const from get_angle_to_target
2015-09-11 20:56:07 +09:00
Daniel Nugent
21ac12f1c3
AC_Precland: bug fix to update ef angles only with new readings
2015-09-11 20:56:05 +09:00
Daniel Nugent
db8f28f2aa
GCS_MAVLink: version update after generating LANDING_TARGET
2015-09-11 20:56:04 +09:00
Daniel Nugent
3aa0063f31
GCS_MAVLink: generate after updating LANDING_TARGET msg
2015-09-11 20:56:03 +09:00
Daniel Nugent
eba8dcffde
GCS_MAVLink: update LANDING_TARGET from upstream mavlink
2015-09-11 20:56:02 +09:00
Andrew Tridgell
d07d2f3a46
AP_GPS: removed UBX3 message
...
replaced by GPA and GPA2 messages
2015-09-09 15:01:45 +10:00
Andrew Tridgell
c5cd310818
DataFlash: added GPA and GPA2 messages for GPS accuracy
...
this reverts the GPS format to the old format, thus fixing log
analysers
2015-09-09 14:53:11 +10:00
Andrew Tridgell
c59bdc12df
AP_Compass: fix the milligauss handling
...
the previous approach assumed a 1:1 mapping between compass backends
and compass instances, which isn't true on PX4.
It also only setup milligauss offsets on a set_and_save call, which is
not the only way offsets change
this adds a milligauss_ratio per instance, which is considerably
simpler
2015-09-09 14:53:11 +10:00
Andrew Tridgell
3699932417
AP_Compass: fixed SITL compass
2015-09-09 14:53:11 +10:00
Randy Mackay
f1322252ae
GPS: fix GNSS_MODE param descriptions
...
Thanks to Michael DuBreuil for noticing the problem and providing the correction
2015-09-09 13:40:32 +09:00