Commit Graph

45896 Commits

Author SHA1 Message Date
Andrew Tridgell faae0a8609 Tools: added support for v3 Invensense sensors
starting with ICM-40609, ICM-42688 and ICM-42605
2021-01-11 14:43:35 +11:00
Andrew Tridgell 14433c3ae3 HAL_ChibiOS: enable ICM-40609 on mRoNexus 2021-01-11 14:43:35 +11:00
yaapu 0f49058fbd AP_MSP: fix for missing ACK on unsupported MSP messages
MSP requires all messages to be acknowledged even if unsupported
2021-01-11 08:54:15 +11:00
Peter Barker 6baaf03c8c Plane: move auto_throttle_mode to being a method on each mode 2021-01-10 16:04:30 +11:00
Peter Barker f6cb1b5ad6 Plane: use a method on Mode for auto-navigation-mode
Avoids the state getting stale, which it will with a failed attempt to
go into qautotune, for example.
2021-01-10 16:04:30 +11:00
Peter Barker a1ea1306a1 Plane: use pure-virtual method for allows_throttle_nudging
In place of a state variable which could become stale
2021-01-10 16:04:30 +11:00
Andrew Tridgell 882d9c4e23 GCS_MAVLink: adjust stack sizes 2021-01-10 08:28:55 +11:00
Andrew Tridgell dc57454ac5 AP_Logger: adjust stack sizes 2021-01-10 08:28:55 +11:00
Andrew Tridgell afbdd69165 AP_HAL_ChibiOS: adjust stack sizes 2021-01-10 08:28:55 +11:00
Andy Piper 8fb403c569 AP_HAL_ChibiOS: make sure BDMA channels are not adjacent 2021-01-10 08:11:37 +11:00
Peter Barker 4d19ff6b26 autotest: prompt ArduPilot for SYSTEM_TIME message during reboot
This helps us actually execute the timeouts appropriately and thus
re-fetch the STAT_BOOTCNT parameter we use for detecting the reboot

Eliminates annoying pauses during testing.
2021-01-09 16:20:12 +11:00
Peter Barker 8e6d144d72 autotest: re-raise KeyboardInterrupt after closing pexpects
this gives a stack trace, which is handy if the tests get caught
indefinitely somewhere
2021-01-09 15:16:50 +11:00
Pierre Kancir f53892a1fa Copter: don't report initial mode switch as failsafe mode change 2021-01-09 08:28:29 +09:00
Andy Piper 186c28c275 AP_BLHeli: correct bi-dir mask enablement 2021-01-09 09:47:40 +11:00
Peter Barker 5120ebf2f6 autotest: add a set_parameters method 2021-01-08 23:51:33 +11:00
Peter Barker 416dd98140 AP_Logger: check HAL_LOGGING_DATAFLASH only for definition
As the hwdefs only define the symbol, don't set it to a value...
2021-01-08 12:48:55 +11:00
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
Jacob Walser c5ec0cfdee Frame_params: (BlueRov2/Sub-3.5.1) revert to 19086e34
this file is targeted specifically at 3.5.1 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 4c13a5ae4f Frame_params: (BlueRov2 Heavy/Sub-3.5.2) revert to 9897ff60
this file is targeted specifically at 3.5.2 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 567c6d4991 Frame_params: (BlueRov2/Sub-3.5.2) revert to 83bb1e7f
this file is targeted specifically at 3.5.2 firmware
the subsequent contributions reflecting changes to master should
not have been applied
2021-01-07 07:39:59 -08:00
Jacob Walser 367e7b35de Frame_params: add defaults for bluerov2 on Sub 3.5.4 firmware 2021-01-07 07:39:59 -08:00
Jacob Walser 3ce9d9eb44 Frame_params: add defaults for bluerov2 on Sub 4.0.2 firmware 2021-01-07 07:39:59 -08:00
Tatsuya Yamaguchi eab913646e Copter: fix ignore pilot yaw option for guided 2021-01-07 20:40:34 +09:00
Andrew Tridgell ad29be14c6 autotest: added ARACE_hand location 2021-01-07 18:42:33 +11:00
Peter Barker 4fb4beab67 Tools: adjust decode_watchdog.py for new message format 2021-01-07 17:06:09 +11: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
Tatsuya Yamaguchi b6b39673d4 Copter: remove PHLD_BRAKE_* params when PosHold is disabled 2021-01-07 11:41:08 +09: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
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