Commit Graph

8908 Commits

Author SHA1 Message Date
bugobliterator e499c2d39f AP_Bootloader: fix stuck in bl on reboot from firmware with network and CAN bootlaoders 2024-07-24 17:47:23 +10:00
bugobliterator 3e8b5ccee4 AP_Bootloader: fix build for STM32H7 without heap
disables ecc check for those boards as well
2024-07-24 17:30:23 +10:00
George Zogopoulos cb044d4718 Tools: Optionally include AP_SIM_GLIDER_ENABLED on SIH 2024-07-24 17:03:48 +10:00
Peter Barker bedc76e0e8 autotest: tidy various tests to take account of new framework capabilities
autotest: simplify AutoDock test

autotest: tidy AP_Proximity_MAV test

autotest: tidy DriveSquare test

autotest: tidy BatteryFailsafe test

autotest: tidy GPSViconSwitching test

autotest: tidy RangeFinder test
2024-07-24 17:01:26 +10:00
Peter Barker 7f1b7182fb Tools: add AP_RSSI_ENABLED to build_options.py 2024-07-24 09:11:39 +10:00
Andy Piper 0b6a1f4fe7 autotest: test for circle exclusion fence using AUTOENABLE=2 2024-07-24 08:24:06 +10:00
Andy Piper b7ce3ff286 autotest: add test for minimum altitude avoidance fence 2024-07-24 08:24:06 +10:00
Andy Piper e30dc2c536 autotest: fix fence autotests
add Plane.FenceMinAltEnableAutoland
test that vehicle can be landed manually after descending below fence floor
2024-07-24 08:24:06 +10:00
Andy Piper c216536a94 autotest: test aborted landing with fence correctly 2024-07-24 08:24:06 +10:00
Andy Piper cedccdb8fe autotest: add test for auto-disabling min alt fence breaches on disarming
clean-up fence manipulation functions and add test for auto-enablement on copter
update tests to have some FENCE_ENABLE tests
add avoidance minimum and maximum altitude fence
add fence switch test while flying
add FenceAutoEnableDisableSwitch for auto mode 2
add more scenarios for plane fence auto-enable
validate fence rc switch behaviour
check fence autoenable by taking off in guided mode
more FENCE_AUTOENABLE tests
add FenceEnableDisableAux and FenceMinAltAutoEnableAbort
2024-07-24 08:24:06 +10:00
Bob Long 230269bed8 HAL_ChibiOS: add adjustable wdg timeout for hwdefs
This allows the watchdog timeout to be adjusted in the hwdef.dat file,
so that critical nodes like ESCs can recover more quickly.
2024-07-23 19:53:38 +10:00
Alex P 0190e70da4 Tools: Reserving board id for Stellar F4 in board_types.txt 2024-07-23 17:01:45 +10:00
Rhys Mainwaring 0272f59d0c Tools: autotest: add rover-omni3mecanum
- Add frame rover-omni3mecanum.
- Remove params with default values.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-07-23 13:27:04 +10:00
Ben Butterworth 0a9a8d9178 Tools: install-prereqs-ubuntu.sh: fix script after setuptools==71.0.0 release
Use newest `packaging` to avoid packaging incompatibility with `setuptools>=71.0`

As https://github.com/pypa/setuptools/issues/4496#issuecomment-2240322375 mentions:
> setuptools>=71.0 does not work with packaging<24.0, but will not upgrade it if packaging is already installed

Also relevant: https://github.com/pypa/setuptools/issues/4496
2024-07-23 13:22:04 +10:00
Willian Galvani 7b5c1f16c1 tools: firmware_version_decoder.py: fix detection for BETA+n firmware 2024-07-22 14:57:47 -03:00
Peter Barker 57d6815124 autotest: add Mount test for relative yaw 2024-07-21 19:52:10 +10:00
Peter Barker aab1ae4018 autotest: test Solo mount 2024-07-20 22:44:10 +10:00
rushyam 218724a3fe Tools: ros2: correct ros_ws to ros2_ws
ros_ws -> ros2_ws
2024-07-20 20:26:07 +10:00
Stephen Dade 8674bb84a6 Tools: Add skid steering motorboat 2024-07-20 19:10:09 +10:00
Peter Barker 6eeaa10b7e Tools: add test for final-yaw behaviour in Auto mode RTL 2024-07-20 19:03:48 +10:00
Peter Barker 9c10e64168 Tools: add documentation for SIM_ACC?_RND parameters 2024-07-20 13:43:44 +10:00
Peter Barker 2f0f7aa669 autotest: tidy Copter flip test 2024-07-20 09:57:55 +10:00
Eric Katzfey a4bfab8cdc Tools: Added default parameter file for ModalAI D0013 drone 2024-07-20 07:27:53 +10:00
bugobliterator 2ee760e114 bootloaders: update Cube and Here bootloaders 2024-07-17 17:31:15 +10:00
bugobliterator 39c5322133 AP_Bootloader: use malloc_dma to allocate dma safe memory for ecc check 2024-07-17 17:31:15 +10:00
Andrew Tridgell c137586374 Tools: fixed typo in HAGL feature
thanks Peter :-)
2024-07-17 10:26:36 +10:00
Peter Barker 8dcd3986c7 autotest: correct uploading of exclusion circles 2024-07-17 08:33:44 +10:00
Peter Barker 1de60a31b0 autotest: rename do_reposition to send_do_reposition 2024-07-17 08:33:44 +10:00
Andrew Tridgell 36d85c9349 Tools: added build option for MAVLink HAGL command 2024-07-17 08:03:18 +10:00
Andrew Tridgell 39b28a3e7c Tools: setup motor ordering for ModalAI Autonomy DevKit 2024-07-16 10:54:03 +10:00
Iampete1 49e77718ac Tools: autotest: Copter: add battery unhealthy prearm and failsafe test 2024-07-14 17:11:47 +10:00
Andrew Tridgell 07493edb06 Tools: adjust default ModalAI parameters 2024-07-13 14:38:31 +10:00
Andrew Tridgell 38ea100c5f waf: rename QURT host program to "ardupilot" 2024-07-13 14:38:31 +10:00
Andrew Tridgell ef24bedabb Tools: added ModalAI dev kit parameters 2024-07-12 15:56:48 +10:00
Andrew Tridgell af34df2b9f waf: added QURT board target 2024-07-12 15:56:48 +10:00
Andrew Tridgell a136c28122 waf: don't build CAN libraries if CAN not supported 2024-07-12 15:56:48 +10:00
Andrew Tridgell 354a40651d Replay: use AP_Filesystem to load parameter file
fixes replay build with posix compat changes
2024-07-12 15:56:48 +10:00
Willian Galvani bd27edc9f5 autotest: test mag fusion and origin backup
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Peter Barker bf3a8c0044 Tools: correct sitl-on-hw compilation for boards which constrain sensor counts 2024-07-11 21:24:55 +10:00
Andrew Tridgell 24a6e6bfa1 waf: Revert "waf: use debug option 3 which records defines as well"
this change made use of gdb so slow it is completely unusable for
ArduPilot. Far too many macros, loading gdb takes forever
2024-07-11 14:20:04 +10:00
emshibuya 0b866a4bec Tools: add name to GIT_Success.txt 2024-07-11 08:45:54 +09:00
Andrew Tridgell 096cfdcb61 waf: fixed ESP32 build 2024-07-11 09:28:17 +10:00
Peter Barker 0d12cc7693 Tools: build_options.py: add AP_BARO_PROBE_EXTERNAL_COMPASSES 2024-07-11 09:22:42 +10:00
Thomas Watson dc58d0406c AP_Periph: add ESC_RATE parameter to RC_OUT peripherals
Like other vehicles (which use RC_SPEED), ESC_RATE is used to set the
PWM output rate for outputs whose functions are set to MotorN so that
ESCs can be driven at a fast speed (400Hz, same default as aerial
vehicles) while servos still run at normal speed (50Hz, controlled by
OUT_RATE).
2024-07-10 18:17:41 +10:00
“Jane_ZeroOne” 91e54272fd Tools: PMU And GNSS ID Reserve for ZeroOne. 2024-07-10 10:07:05 +10:00
Thomas Watson 43bc80ab59 AP_Periph: ensure the dshot type gets set
Same fix as https://github.com/ArduPilot/ardupilot/pull/27093 .
2024-07-09 19:57:31 +10:00
Peter Barker 69c76a96d3 autotest: reboot after any context in which a reboot was done
this makes the assumption that any reboot done within a SITL was because some parameter changes only take effect after a reboot.

... so after we have reverted the parameters, reboot again to make the reverted parameter values take effect
2024-07-09 16:48:29 +10:00
Peter Barker 0cf357eb51 autotest: increase timeout for GCSMission upload test
MAVProxy may not have gotten all of the waypoints uploaded in 5 seconds.
2024-07-09 16:48:29 +10:00
Peter Barker 11e49c5528 autotest: add test for entering loiter after auto in RC failsafe 2024-07-09 10:52:14 +10:00
Peter Barker a110c9c39f autotest: add tests for onboard file log validity 2024-07-09 10:40:08 +10:00