Commit Graph

24901 Commits

Author SHA1 Message Date
Peter Barker 7d42f473fc AP_Logger: allow each backend to be compiled out 2021-01-08 12:48:55 +11:00
yaapu 480c9f10df AP_OpticalFlow: fix for msp opflow sensor alignement 2021-01-08 09:29:23 +09:00
Michael Oborne d2720da4a2 AP_GPS: support yaw for UAVCAN GPS 2021-01-07 15:56:28 +11:00
Michael Oborne 5ef3e1bec3 UAVCAN: add dsdl for gps heading 2021-01-07 15:56:28 +11:00
Peter Barker e8d24a1f68 AP_Logger: initialise logger instance variables in header 2021-01-07 10:42:13 +11:00
Peter Barker 80e8688888 AP_Logger: remove perf counters 2021-01-07 09:20:00 +11:00
Andy Piper b3946a667c AP_Logger: omnibusF4pro needs more stack for logging and logging needs to take precedence over ftp 2021-01-07 07:43:52 +11:00
chobits b0fa5fadcd AP_Logger: fix BCN multiplier 2021-01-06 21:48:32 +11:00
Peter Barker c590aa061f RC_Channel: return uint32_t for number of ms overrides should live 2021-01-06 18:33:15 +11:00
Peter Barker ef0b860a48 AP_Logger: remove Prep and NeedPrep functions
These were only being called directly after Init(), so just tacked them
onto the end of those functions.

The checks in NeedPrep turned out to be mostly redundant.
2021-01-06 18:25:21 +11:00
Josh Henderson 1c49a0b44d AP_Logger: only log Battery Status for active monitors 2021-01-06 18:23:15 +11:00
Peter Barker 496267115c AP_RangeFinder: MAVLink: use larger of min ranges / smaller of max ranges 2021-01-06 15:33:41 +11:00
Peter Barker 81ab322daa SITL: correct max_distance in simulated mavlink rangefinder 2021-01-06 15:33:41 +11:00
Peter Barker cba5f142a7 AP_RangeFinder: correct MAVLink backend's out-of-range checks 2021-01-06 15:33:41 +11:00
Peter Barker 223e775a3c AP_RangeFinder_MAVLink: only set sensor type if we accept a reading 2021-01-06 15:33:41 +11:00
Peter Barker 40eb9a8b99 AP_RangeFinder: do not start the mavlink rangefinder as healthy
Also takes the opportunity to clean things up a little
2021-01-06 15:33:41 +11:00
Gone4Dirt c96ca2483e AP_Generator: Make sensor unhealthy msg consistent with other sensors 2021-01-06 09:59:34 +11:00
Andrew Tridgell 59fa794818 AP_NavEKF3: constrain vertical error
this prevents a floating point exception with external AHRS
2021-01-05 21:13:12 +11:00
Andrew Tridgell 1e75bb971e AP_NavEKF2: constrain vertical error
this prevents a floating point exception with external AHRS
2021-01-05 21:13:12 +11:00
Andrew Tridgell ce561ab249 AP_Logger: log active EKF type as ATT.AEKF 2021-01-05 21:13:12 +11:00
Andrew Tridgell b73131cdbc AP_AHRS: review fixes 2021-01-05 21:13:12 +11:00
Andrew Tridgell 4e33b74d69 AP_AHRS: call external AHRS update 2021-01-05 21:13:12 +11:00
Andrew Tridgell b5b9b57c9e AP_AHRS: added external AHRS mavlink status 2021-01-05 21:13:12 +11:00
Andrew Tridgell 75ad1a7d31 AP_AHRS: send a text msg when active EKF changes 2021-01-05 21:13:12 +11:00
Andrew Tridgell 9dbd2d3eba AP_AHRS: expose active EKF type for logging 2021-01-05 21:13:12 +11:00
Andrew Tridgell 7cc71dc573 HAL_SITL: support VectorNav simulation 2021-01-05 21:13:12 +11:00
Andrew Tridgell f57971eafe SITL: added VectorNav simulator 2021-01-05 21:13:12 +11:00
Andrew Tridgell e284c5694d AP_AHRS: added AHRS_EKF_TYPE=11 for external AHRS 2021-01-05 21:13:12 +11:00
Andrew Tridgell b74e5c0e2f AP_InertialSensor: added ExternalAHRS backend 2021-01-05 21:13:12 +11:00
Andrew Tridgell 4f176c25de AP_InertialSensor: relax IMU wait time for low loop rates
allow for waiting for all IMUs for up to 1/3 of the loop time
2021-01-05 21:13:12 +11:00
Andrew Tridgell bf51478dd1 AP_GPS: added ExternalAHRS backend 2021-01-05 21:13:12 +11:00
Andrew Tridgell a068e95a48 AP_Compass: added ExternalAHRS driver 2021-01-05 21:13:12 +11:00
Andrew Tridgell 75c789fc57 AP_Baro: added ExternalAHRS backend 2021-01-05 21:13:12 +11:00
Andrew Tridgell 66297bd061 AP_Vehicle: added ExternalAHRS param tree and object
using EAHRS param prefix
2021-01-05 21:13:12 +11:00
Andrew Tridgell 0f08236e7c AP_SerialManager: added serial AHRS type 2021-01-05 21:13:12 +11:00
Andrew Tridgell ae4d152d51 AP_SerialManager: added find_portnum() API
used for allocating device IDs
2021-01-05 21:13:12 +11:00
Andrew Tridgell 1b60be96d1 AP_ExternalAHRS: added support for external AHRS systems
First supported is VectorNav VN-300 on serial
2021-01-05 21:13:12 +11:00
Arsh 3d5addeee0 AP_HAL:examples:AnalogIn: Added comments in the AnalogIn example 2021-01-05 20:43:04 +11:00
Randy Mackay 3a075850f6 AC_Autorotation: minor comment fix 2021-01-05 17:19:43 +09:00
Peter Barker b6833eee9b SITL: correct SMBus block reads 2021-01-05 14:45:20 +11:00
Peter Barker 8be50910e4 SITL: add support for simulated TSYS01 temperature sensor 2021-01-05 12:01:51 +11:00
Peter Barker ecd21fbc4c AP_TemperatureSensor: add support for simulated TSYS01 temperature sensor 2021-01-05 12:01:51 +11:00
murata d7533843d5 AC_AttitudeControl: Set the gravitational acceleration value to the defined value 2021-01-05 09:11:14 +09:00
murata 219dc2e7da AP_InertialSensor: Set the gravitational acceleration value to the defined value 2021-01-05 09:11:14 +09:00
murata 2eee8e389d AP_L1_Control: Set the gravitational acceleration value to the defined value 2021-01-05 09:11:14 +09:00
TsuyoshiKawamura 441be7e04b AP_Scripting: add rangefinder status_orient 2021-01-05 11:03:42 +11:00
Randy Mackay 647c568ab9 AP_NavEKF3: out-of-date comments removed
GPS, Static and ExtNav yaw buffers have been separated
2021-01-05 10:58:06 +11:00
Randy Mackay 27c998ad94 AP_NavEKF3: rename source and yawFusionMethod from EXTERNAL to GPS 2021-01-05 10:58:06 +11:00
Randy Mackay 77af6df730 AP_NavEKF: rename EXTERNAL to GPS 2021-01-05 10:58:06 +11:00
Randy Mackay c14b4a8b6c AP_NavEKF3: add support for GSF as yaw source 2021-01-05 10:58:06 +11:00