Commit Graph

53605 Commits

Author SHA1 Message Date
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
Peter Barker 4e438464d7 AP_Baro: tidy probing of external i2c baros 2022-06-21 09:09:55 +10:00
Bill Geyer 4bb3b08a4a AC_AutoTune: fix tradheli bug with load gain set 2022-06-20 13:00:53 +09:00
Andrew Tridgell 3a6b153d55 Tools: added filter tool to web-firmware
makes it easier others to PR changes to improve the tool
2022-06-18 09:34:50 +10:00
TunaLobster afaca4b5f6 AP_RCMapper: Remove APM 2.x reference in parameter description 2022-06-18 08:26:40 +09:00
Andrew Tridgell e9942f9a17 Plane: prepare for 4.2.2beta1 2022-06-17 14:09:09 +10:00
Andrew Tridgell 2e1af59057 AP_Rangefinder: fixed scaling on PWM driver and enable SCALING parameter
this fixes a bug introduced here:

  https://github.com/ArduPilot/ardupilot/pull/18829

and allows the scaling of PWM rangefinders to be adjusted
2022-06-17 08:21:44 +10:00
Andrew Tridgell 7e4fb803a2 AC_AttitudeControl: reduced default quadplane VTOL pos XY gains 2022-06-16 21:26:49 +10:00
Andrew Tridgell 42f553626e Plane: adjust down default quadplane gains
make it better for a typical quadplane, the defaults were more
suitable on smaller aircraft
2022-06-16 21:26:49 +10:00
Peter Barker 08ae4f050c autotest: fix race condition in button test
The subsequent test could end up arming the vehicle based on this left-over state.
2022-06-16 21:24:31 +10:00
Peter Barker 4a015bd479 autotest: fix race condition in mission-end-behaviour test 2022-06-16 21:24:31 +10:00
Peter Barker 57b0d7f235 autotest: change rover default speedup time to 100 2022-06-16 21:24:31 +10:00
Peter Barker b150c48b5c Tools: add --no-run-with-defaults option to test-build-options script 2022-06-16 17:20:06 +10:00
Peter Barker 7120d4f750 autotest: fix race condition in need-ekf-to-arm check
At extreme speedups we may not detect the reboot in the Python before the autopilot is ready to arm...
2022-06-16 14:53:21 +10:00
Shiv Tyagi c339b1d374 SIM_Precland: add option to set orientation of precland device in sitl 2022-06-16 12:43:55 +10:00
Joshua Henderson 13d1b8632b Copter: remove param docs for ACRO_RP_P and _YAW_RP 2022-06-16 09:09:55 +09:00
Peter Barker 39a0ecbb4b autotest: check rate is configured after we do the rate check
This is just to make sure that the autopilot isn't losing the configuration somehow.
2022-06-16 10:04:08 +10:00
Peter Barker 6fcdea67c3 autotest: tidy hover_and_check_matched_frequency method
- remove pointless elses
 - clarify why a test is failing in exception messages
 - move variable definitions closer to their use
2022-06-15 19:07:34 +10:00
Andrew Tridgell 5a36d7cf0a AP_Periph: fixed non-contiguous mask for ESC telem output
this fixes the case where a peripheral node has an ESCs that are not
starting at the first channel. Reported here:

https://discuss.ardupilot.org/t/using-matekl431-adapters-for-pwm-and-dshot/85781/22

tested on MatekL431-Periph
2022-06-15 18:16:22 +10:00
Randy Mackay e55fa6ad92 Tools: add build_options for individual mount drivers 2022-06-15 18:08:58 +10:00