Commit Graph

53624 Commits

Author SHA1 Message Date
Andrew Tridgell
a941e4cd41 AP_NavEKF: re-implemented EKF ring buffer
this fixes a bug where elemnts being pushed into the buffer more
slowly than we recall can be lost

for example, if you push a single element in then try a recall it will
fail
2022-06-24 20:25:39 +10:00
Andrew Tridgell
19da623077 AP_NavEKF: added test suite for EKF ring buffer 2022-06-24 20:25:39 +10:00
Andrew Tridgell
3fbe99ea4d Plane: prepare for 4.2.2 stable 2022-06-24 11:43:06 +10:00
Andrew Tridgell
ba10c0ae42 AP_BattMonitor: make healthy() check all configured monitors
GCS reporting for SYS_STATUS should check all healthy, not just first
backend
2022-06-24 11:13:16 +10:00
Andrew Tridgell
93ee9a4ac1 AP_BattMonitor: allow INA2xx battery monitors to be powered after boot
the device doesn't show up till main battery is connected, so we need
this change to allow for separate avionics battery and main battery
with avionics battery powered on first
2022-06-24 11:13:16 +10:00
Andrew Tridgell
9a6fb19208 AP_BattMonitor: report arming unhealthy if backend unhealthy
important for i2c based battery backends
2022-06-24 11:13:16 +10:00
Peter Barker
1f4ebb49b5 AP_Mount: document point-at-home default mode option 2022-06-23 16:37:54 +10:00
Andrew Tridgell
2b03c49b49 AP_Bootloader: sync 6C board ID with px4 bootloader 2022-06-23 13:43:38 +10:00
Andrew Tridgell
40cfebd202 Tools: updated Pixhawk6C bootloader 2022-06-23 13:43:38 +10:00
Andrew Tridgell
5f8ea596a5 hwdef: changed Pixhawk6C board type to 56
production bootloader uses 56
2022-06-23 13:43:38 +10:00
Peter Barker
2d3092407f AP_HAL_Empty: move implementations of functions to header
Makes it much clearer what's implemented and what's dangling
2022-06-23 12:38:41 +10:00
Andrew Tridgell
881d9764d4 hwdef: added Pixhawk6C support 2022-06-23 12:37:24 +10:00
Andrew Tridgell
7997029893 Tools: added Pixhawk6C bootloader 2022-06-23 12:37:24 +10:00
Andrew Tridgell
4d031a0c9e AP_Compass: HAL_COMPASS_DISABLE_IST8310_INTERNAL_PROBE for Pixhawk6C 2022-06-23 12:37:24 +10:00
Andrew Tridgell
e48f405c08 AP_Compass: removed "AK09916 Wrong id" message
we don't need this on every board that doesn't have an I2C AK09916
2022-06-23 12:37:24 +10:00
Andrew Tridgell
b1e3b9414b hwdef: fixed Pixhawk6X ALT_RAM_MAP check 2022-06-23 12:37:24 +10:00
Andrew Tridgell
3ffef61aec Plane: fixed int8_t wrap with FWD_BAT_VOLT_MAX
this could cause crazy throttle values when the ratio pushes us over
127
2022-06-23 09:25:03 +10:00
Iampete1
0cd1f605f6 Plane: Quadplane: always reset to QPOS_NONE on mode entry 2022-06-23 08:37:00 +10:00
Peter Barker
f4df4298a0 AP_RangeFinder: make LeddarOne calculations more efficient 2022-06-22 21:15:18 +10:00
Peter Barker
90362a4849 AP_RangeFinder: tighten scope of stack variable definition 2022-06-22 21:15:18 +10:00
Peter Barker
6923f20ce6 AP_RangeFinder: stop persisting detections in LeddarOne driver
We don't use these readings except immediately after where we store them - so don't store them persistently.
2022-06-22 21:15:18 +10:00
murata
65cfded501 Rover: Initialize a string array 2022-06-22 17:25:56 +10:00
murata
501bd61820 Plane: Initialize a string array 2022-06-22 17:25:56 +10:00
murata
1aae0610a6 Copter: Initialize a string array 2022-06-22 17:25:56 +10:00
Andy Piper
1287fc4fff AC_AttitudeControl: reset throttle mix to used mix when scaling mix down 2022-06-22 16:17:26 +09:00
Andy Piper
877f98e547 Copter: keep manual throttle mix at zero throttle when airmode is on
allow landing detection in airmode
increase landing detection timeout in airmode.
2022-06-22 16:17:26 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
f7d21b63a7 AP_FETTecOneWire: Fix the recent change of NUM_SERVO_CHANNELS > 24 2022-06-22 11:51:23 +10:00
Randy Mackay
c334fbe069 Rover: 4.2.2-rc1 release notes 2022-06-21 20:17:21 +09:00
Randy Mackay
e9d17484d4 Copter: 4.2.2-rc1 release notes 2022-06-21 20:17:13 +09:00
Randy Mackay
66f1603aea Tools: autotest default params for sub use MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
65d8cff1f2 Tools: LogAnalyzer checks MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
1a5216aaee Tools: autotest for mount sets MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
5add147c8d Sub: set param default for MNT_RC_RATE to 30deg/s 2022-06-21 13:37:11 +09:00
Randy Mackay
45cd158b1c AP_Mount: gremsy searches for gimbal while disarmed 2022-06-21 13:37:11 +09:00
Randy Mackay
a47ac7430b AP_Arming: add mount pre-arm check 2022-06-21 13:37:11 +09:00
Randy Mackay
8ba8c67452 AP_Mount: gremsy implements healthy 2022-06-21 13:37:11 +09:00
Randy Mackay
822ee75e20 AP_Mount: add healthy and pre_arm_checks
Co-authored-by: olliw42 <waldmanns@gmx.de>
2022-06-21 13:37:11 +09:00
Randy Mackay
10da8a42bd AP_Mount: replace JSTICK_SPD with RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
ca0ea39d4f Copter: land and payload place obey alt frame 2022-06-21 09:07:36 +09:00
Randy Mackay
46023318d4 Copter: get_rangefinder_height_interpolated_cm made const 2022-06-21 09:07:36 +09:00
Isaac A
94064175af AP_HAL_ChibiOS: Allow KakuteF7 initialization without baro 2022-06-21 10:03:08 +10:00
Iampete1
dc0491a8ff AP_AHRS_view: add rotate method to move from AHRS to AHRS view referance frames 2022-06-21 10:01:30 +10:00
Iampete1
f2a162b963 Plane: rotate Qassist desired rates correctly 2022-06-21 10:01:30 +10:00
TunaLobster
0027660f3f AP_RCMapper: Increase parameter metadata range to match NUM_RC_CHANNELS 2022-06-21 09:57:44 +10:00
Peter Barker
deba0b712b AP_RangeFinder: correct creation/use of TFMINI_ADDR_DEFAULT
Named incorrectly and defined in wrong file...
2022-06-21 09:15:20 +10:00
Peter Barker
05131853d8 AP_UAVCAN: allow rangefinder backends to be individually compiled in 2022-06-21 09:15:20 +10:00
Peter Barker
71a4d24e72 Tools: add rangefinder backends to custom build server options 2022-06-21 09:15:20 +10:00
Peter Barker
3a347d32ca AP_RangeFinder: allow rangefinder backends to be individually compiled in 2022-06-21 09:15:20 +10:00
Peter Barker
ce1bb906b7 AP_HAL_ChibiOS: allow rangefinder backends to be individually compiled in 2022-06-21 09:15:20 +10:00
Iampete1
d251c51ca1 Plane: Quadplane: QRTL climb to QRTL alt first if in Q mode 2022-06-21 09:11:08 +10:00