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
Andy Piper
58b87f8b42
AP_Bootloader: iFlight 2RAWH743
2024-07-09 09:43:38 +10:00
Andy Piper
aa47c8895f
bootloaders: iFlight 2RAWH743
2024-07-09 09:43:38 +10:00
Randy Mackay
dd927e1542
Tools: add build option for Topotek mount
2024-07-09 09:08:51 +10:00
HiRCBro
8e28e6ab26
Tools: longBowF405WING
2024-07-09 09:05:27 +10:00
Peter Barker
91b2d0dcdf
autotest: fix race condition in DataFlashOverMAVLink test
...
we're running at large speedups; 5 simulated seconds might not be enough time for MAVProxy to accumulate statistics. So get MAVProxy to emit the rate each second instead
2024-07-08 23:20:41 +10:00
Peter Barker
3ca15b23b9
autotest: param_metadata: add jerk as a known unit
2024-07-08 23:04:12 +10:00
Peter Barker
96a78456bf
autotest: reboot after reverting rangefinder settings
...
Co-authored-by: Thomas Watson <twatson52@icloud.com>
Thomas noted that tests prior to RngFndQuality were leaving a LUA rangefinder hanging around in https://github.com/ArduPilot/ardupilot/pull/27484
Thomas' patch fixes RngFndQuality to only collect context messages after a reboot, which will fix the problem.
But tests should *not* leave the vehicle in this state, so this patch fixes that.
2024-07-08 14:36:10 +10:00
Ryoichi
d352153a52
Tools: add name to GIT_Success.txt
2024-07-08 08:42:50 +09:00
Andrew Tridgell
8be0a64155
waf: don't mark esp32 as CYGWIN_BUILD
2024-07-07 07:11:59 +10:00
Andrew Tridgell
039367e340
Tools: wrap _malloc_r on cygwin
...
fixes dual allocation heap bug
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
2024-07-07 07:11:59 +10:00
kelek-juta
9c8175994e
Tools: add name to GIT_Success.txt
2024-07-06 14:21:03 +09:00
kaw803
7b1e23b07a
Tools: add name to GIT_Success.txt
2024-07-06 14:19:21 +09:00
k-kabuto
c43abc4a7b
Tools: add name to GIT_Success.txt
2024-07-06 14:17:32 +09:00
hdxgito
2e361c0506
Tools: add name to GitSuccess
2024-07-06 14:15:55 +09:00
sichimur
842b01af9c
Tools: add name to GIT_Success.txt
2024-07-06 14:13:40 +09:00
YasuhiroSetoguchi
73574c462b
Tools: add name toGIT_Success.txt
2024-07-06 14:07:52 +09:00
stohiro
b457ba0a8d
Tools: Update GIT_Success.txt
2024-07-06 14:05:35 +09:00
UeVillage
80e7cb8cb7
Tools: Add name in GIT_Success.txt
2024-07-06 14:03:19 +09:00
Hideyuki Fujikawa
2409b23327
Tools: add name to GIT_Success.txt
2024-07-06 14:01:14 +09:00
masahiro suzuki
b8a63a1a5c
Tools: add name to GitSuccess
2024-07-06 13:58:18 +09:00
Waravie
b3b4141586
Tools: add name to Tools/GIT_Test/GIT_Success.txt
2024-07-06 13:55:22 +09:00
HiroshiKaneda-gif
cd999129da
Tools: add name to GIT_Success.txt
2024-07-06 13:17:36 +09:00
bugobliterator
bf2ccec4d7
bootloaders: update Cube with dual core mcu bootloaders
2024-07-05 14:16:27 +10:00
bugobliterator
4260acb21a
waf: use debug option 3 which records defines as well
2024-07-05 14:16:27 +10:00
bugobliterator
2363e972bc
AP_Bootloader: fix return check for otg2 serial deadline
2024-07-05 14:16:27 +10:00
George Zogopoulos
2cd5413b0d
SITL: Documented SIM_WIND_DIR_Z
2024-07-03 18:13:11 +10:00
Bill Geyer
b03203c612
Tools: heli autotune autotest save gains and add tune check
2024-07-01 22:57:55 -04:00
bnsgeyer
b1b4ddea94
Tools: update heli autotune autotest
2024-07-01 22:57:55 -04:00
Peter Barker
e2ef47b221
autotest: break out a run_replay method
2024-07-02 11:05:40 +10:00
Peter Barker
eb539f2c4a
autotest: allow message hooks to be instances of a MessageHook class
...
allows state to be encapsulated within the object rather than simply in the same scope / closure of the method being called.
Will allow easier re-use of these blocks
2024-07-02 11:05:40 +10:00
Peter Barker
0c7a527ad3
autotest: add test infrastructure for installing lua modules
2024-07-02 11:05:40 +10:00
Peter Barker
3a23cf7144
autotest: add option to ingore RTL mode change during in auto mode
...
Plane emits a heartbeat with RTL in it when doing a DO_LAND_START
2024-07-02 11:05:40 +10:00
Peter Barker
1dae1fe7df
autotest: add get_mode_string_for_mode
2024-07-02 11:05:40 +10:00
Peter Barker
744da0aec7
autotest: add a home_relative_loc_neu method
2024-07-02 11:05:40 +10:00
Peter Barker
bac008d51c
autotest: tidy pre_arm_checks
2024-07-02 09:56:40 +10:00
Peter Barker
98068e481e
autotest: correct places using print rather than progress
2024-07-01 16:58:25 +10:00
bnsgeyer
2809b160ae
Tools: update heli-dual params
2024-06-30 18:21:21 -04:00
Andrew Tridgell
060818a0e1
Tools: fixed default glider parameters
2024-06-30 10:02:15 +10:00
Peter Barker
9d7c8277a4
autotest: make WaitAndMaintainEKFFlags progress nicer
2024-06-28 17:06:23 +10:00
Thomas Watson
ad7270f682
autotest: add serial loopback test script
...
Tests that data can flow both ways with one end using protocol 28
(Scripting) and the other using the serial device feature.
2024-06-27 12:00:18 +10:00
Thomas Watson
f5cc0b3093
Tools: add feature/option defs for serial device simulation
2024-06-27 12:00:18 +10:00
Andrew Tridgell
57c8c19452
AP_Periph: show MCU temp in PPPGW web UI
2024-06-27 10:11:14 +10:00
Peter Barker
c388943f52
autotest: remove pointless try/except in PayloadPlaceMission
2024-06-26 19:19:19 +10:00
Peter Barker
72a1b97b4c
Tools: create_OEM_board.py: include line-feeds on include lines
2024-06-26 11:17:47 +10:00
Peter Barker
87909b5187
Tools: create_OEM_board.py: include defaults.parm, don't copy it
2024-06-26 11:17:47 +10:00
Peter Barker
cd2a30ccda
Tools: make create_OEM_board.py flake8-clean
2024-06-26 11:17:47 +10:00
Andrew Tridgell
f9ee886b2e
Tools: update BlitzF745AIO bootloader
2024-06-25 12:05:40 +10:00
Peter Barker
a77a0c22a7
autotest: add test for logged script statistics
2024-06-25 11:07:07 +10:00
Peter Barker
6bb0709b22
Tools: add Copter flight option for requiring position to arm
2024-06-25 11:06:10 +10:00
Peter Barker
b841f5517e
autotest: install multiple test scripts with one call
2024-06-24 12:46:40 +10:00
bugobliterator
c1ae140dcd
AP_Periph: do not close if already closed
2024-06-21 20:31:31 +10:00
Peter Barker
75614b8c3b
autotest: add basic sensor-health test for optical flow in Rover
2024-06-20 17:18:03 +10:00
Peter Barker
1a2d940330
AP_Periph: rename Notify buzzertype enumeration
2024-06-20 14:47:20 +10:00
Jani Hirvinen
ae465d7571
board_types.txt: add HAKRC board IDS
...
Adding first two hakrc flight controllers and small ID reservation for their upcoming controllers.
2024-06-20 14:46:48 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
0bbf62938a
Tools: add a script to generate vehicle and version dependent apm.pdef.xml files and rsync them to the autotest server
2024-06-20 14:07:07 +10:00
bugobliterator
9c85193d15
bootloaders: update CubeRedPrimary_bl
2024-06-19 19:09:10 +10:00
bugobliterator
e64dfa4d58
AP_Bootloader: add support for secondary FC bootloader to appear on second USB endpoint
2024-06-19 19:09:10 +10:00
bugobliterator
b93ba1ae68
waf: add support for generating compile_commands.json
2024-06-19 17:11:46 +10:00
Peter Barker
6aa662d5d0
autotest: tidy TestGripperMission
...
take advantage of new infrastructure
2024-06-19 13:48:25 +10:00