Commit Graph

45562 Commits

Author SHA1 Message Date
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
Pierre Kancir a564d58dda .github: migrate to ardupilot image 2021-01-06 18:21:37 +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 7474948971 autotest: add test for mavlink rangefinder out-of-range-low 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 fdd0297f12 autotest: add more tests for MAVLink rangefinder
Allows for finer-grain control over what messages we're sending.
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 6a804c3a09 Plane: update release notes for 4.0.8beta1
# Conflicts:
#	ArduPlane/release-notes.txt
2021-01-06 09:37:39 +11:00
Andrew Tridgell ae6569ab67 AP_Periph: updated release notes for 1.2.0 2021-01-06 07:59:33 +11:00
Andrew Tridgell 7672f0a2ce autotest: added NDRCC field 2021-01-05 21:13:12 +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 b5476c6e5c autotest: added ExternalAHRS test 2021-01-05 21:13:12 +11:00
Andrew Tridgell 53e56d2933 Tools: added SERIAL for decode_devid 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 5840d24ed9 Tools: build AP_ExternalAHRS 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
murata 5ca7e03eeb Copter: tidy handling of DO_FLIGHT_TERMINATION 2021-01-05 16:48:15 +11:00
Peter Barker b6833eee9b SITL: correct SMBus block reads 2021-01-05 14:45:20 +11:00
Peter Barker 487f36146d Tools: add support for simulated TSYS01 temperature sensor 2021-01-05 12:01:51 +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
Peter Barker 6433647d9e autotest: add trivial autotest for TSYS01 temperature 2021-01-05 12:01:51 +11:00
murata 44a622ea7f Copter: Set the gravitational acceleration value to the defined value 2021-01-05 09:11:14 +09: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