Commit Graph

9447 Commits

Author SHA1 Message Date
Shiv Tyagi
6a429b887a Tools: use new AP_PERIPH_RC_OUT_ENABLED define 2025-02-22 18:26:07 +11:00
Shiv Tyagi
76aed8f89c Tools: use new AP_PERIPH_HOBBYWING_ESC define 2025-02-20 21:56:14 +11:00
Shiv Tyagi
2b6bbedce6 Tools: use new AP_PERIPH_NOTIFY_ENABLED define 2025-02-20 13:32:20 +11:00
Shiv Tyagi
82a0347657 Tools: use new AP_PERIPH_EFI_ENABLED define 2025-02-20 13:05:19 +11:00
Shiv Tyagi
9b226edf3a Tools: use new AP_PERIPH_ADSB_ENABLED define 2025-02-20 12:06:00 +11:00
Peter Barker
69daff573b Tools: add and use linux_hwdef.py
like chibios_hwdef.py - but for Linux
2025-02-19 15:42:52 +11:00
Leonard Hall
ab59a00ae1 Tools: Add Jervis_Bay to locations 2025-02-18 19:15:15 +11:00
Randy Mackay
fc479fdd7a Tools: NanoRadar MR72 and Hexsoon Radar build options 2025-02-18 16:38:12 +09:00
Iampete1
9fccccbb3d Tools: AP_Periph: SIM: servo telem move to one indexed 2025-02-18 11:51:34 +11:00
Peter Barker
97df89c9fe Tools: tidy build_autotest.sh script
uses pushd rather than multiple cd calls

indents for clarity

removes unused oldhash assignment

create and make use of intermediate variables
2025-02-18 11:20:31 +11:00
Peter Barker
b65892448b Tools: build_autotest.sh: allow use of more modern timelimit command
command-line has changed (if indeed this is the same command!)

Regardless, autotest server has some grandfathered binary in place in $HOME/bin/timelimit and we do want to move past it at some stage
2025-02-17 20:19:03 +11:00
Peter Barker
f4122811f8 Vagrant: add autotest server VM 2025-02-17 20:19:03 +11:00
Wdiy
cdd6622dfb Tools: add SULILGH7 board 2025-02-17 19:50:16 +11:00
Iampete1
9427b81366 Tools: move from MAV_MODE enum to uint8_t 2025-02-17 17:20:24 +11:00
Shiv Tyagi
222f3ceefd Tools: use AP_PERIPH_NETWORKING_ENABLED for HAL_PERIPH_ENABLE_NETWORKING 2025-02-17 09:55:51 +11:00
Shiv Tyagi
0248f0d5d8 Tools: replace HAL_PERIPH_ENABLE_AIRSPEED with AP_PERIPH_AIRSPEED_ENABLED 2025-02-16 10:11:10 +11:00
Andy Piper
a23f9cd754 AP_Bootloader: SpeedyBee board ids 2025-02-13 11:25:33 +01:00
Shiv Tyagi
abc605c7e4 Tools: u AP_PERIPH_RPM_ENABLED and AP_PERIPH_RPM_STREAM_ENABLED 2025-02-13 20:29:06 +11:00
Peter Barker
9e88953a41 autotest: add test for Copter stopping distance calculation issue
having a really slow RTL speed should not cause stopping-distance problems, but it does.  The vehicle goes off track as the PSC can't achieve the stopping distance demanded
2025-02-13 14:14:28 +11:00
Peter Barker
1f7b4b99be autotest: examples.py: run all tests, fail after running all
autotest: disable running some examples as they're misbehaving
2025-02-13 09:59:49 +11:00
Peter Barker
238429e5c5 autotest: build sitl examples as part of build.examples 2025-02-13 09:59:49 +11:00
Shiv Tyagi
651e0be73c Tools: replace HAL_PERIPH_ENABLE_RCIN with AP_PERIPH_RCIN_ENABLED 2025-02-11 19:31:19 +11:00
Iampete1
e62ca116df Tools: autotest: copter: add test for RTL_ALT_FINAL 2025-02-11 09:52:55 +09:00
Henry Wurzburg
f320fddca1 Tools:enhance AUTOLAND autotest 2025-02-11 11:16:33 +11:00
Peter Barker
6392fac6d9 autotest: add autotest for tuning loiter x/y speed 2025-02-11 08:35:34 +09:00
Your Name
ad97fe6a6c Tools: AP_HAL_ChibiOS: Add ZeroOne_Air board 2025-02-11 08:09:27 +11:00
Shiv Tyagi
0b96145fbb Tools: use AP_PERIPH_RTC_ENABLED in place of HAL_PERIPH_ENABLE_RTC 2025-02-10 09:37:48 +11:00
Shiv Tyagi
af1220f883 Tools: explicitly set AP_PERIPH_XX_ENABLED defines to 0 for sitl_periph_gps and sitl_periph_battmon 2025-02-08 23:25:12 +11:00
Shiv Tyagi
61fb095525 Tools: use AP_PERIPH_IMU_ENABLED in place of HAL_PERIPH_ENABLE_IMU 2025-02-08 08:22:10 +11:00
rafasaurus
0e7e8ba5bf Tools: uploader.py: verify correct install
- Implement functionality to verify correct firmware installation
- Utilize existing code with an additional argument for verification
2025-02-07 10:17:11 +11:00
Peter Barker
034a76039f autotest: set parameter value so context pop resets it
if a vehicle magically sets a parameter (eg. via compass learn) then it can persist pat test end and reboots and everything,.

In this case it can randomly cause the next test to fail with a megneti field difference error
2025-02-06 16:03:52 +11:00
Peter Barker
145dc2cd16 autotest: add option to quieten set_rc_from_map 2025-02-06 16:03:52 +11:00
Peter Barker
1d5f116bce autotest: add a test for trimming AHRS using RC inputs 2025-02-06 16:03:52 +11:00
Peter Barker
d0dff23ff7 Tools: use aux switch to trigger AHRS-trim-via-RC-input 2025-02-06 16:03:52 +11:00
Peter Barker
8c7afb3741 waf: correct clang++ extension name
seems to have changed between versions
2025-02-06 10:21:16 +11:00
Henry Wurzburg
db8931f6ba Tools:reserve bd id for BrahamF4 2025-02-06 10:20:54 +11:00
Peter Barker
e9e419d252 autotest: add test for fetching invalid fence point 2025-02-06 10:20:23 +11:00
Peter Barker
400699fc38 waf: stop clang complaining about variable-length stack arrays 2025-02-05 18:05:40 +11:00
Peter Barker
a1cf1cf854 Tools: add option to require position for Rover before arming 2025-02-05 10:39:20 +11:00
Peter Barker
3acb03b26e autotest: add test for Rover's require-location-for-arming flag 2025-02-05 10:39:20 +11:00
bugobliterator
402936abf3 bootloaders: update bootloaders using networking 2025-02-05 10:23:46 +11:00
Tdogb
bac78b54bf Tools: allow selection of AUAV airspeed in custom build server 2025-02-04 16:17:28 +11:00
Peter Barker
613aa6028f waf: move setting of -cl-single-precision-constant into cxx-flags block
we have two separate blocks, one for setting c flags, one for setting cxx flags.

Move cxx set into correct area
2025-02-04 11:55:39 +11:00
Peter Barker
5dc7751654 Tools: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Iampete1
31fe3d31f3 Tools: autotest: suite: add check_parameter_value to to check parmamter is withing a given percentage of the expected value 2025-02-04 10:41:56 +11:00
Iampete1
f59f28b03a Tools: autotest: arduplane: check param values after autotune 2025-02-04 10:41:56 +11:00
Wdiy
9a1dc96a67 board_types.txt: add SULILGH7-P1-P2 2025-02-04 09:41:13 +11:00
Peter Barker
e5e3e9a40b autotest: do not assert COMPASS_LEARN value after we set it
the autopilot can instantly reset this back to 0 after we set it, so we never receive the set value:

2025-01-30T06:49:04.2029371Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=3/10)
2025-01-30T06:49:04.2029876Z AT-0931.7: Sending set (COMPASS_LEARN) to (3.000000) (old=0.000000)
2025-01-30T06:49:04.2030299Z AT-0931.7: AP: CompassLearn: Initialised
2025-01-30T06:49:04.2030653Z AT-0931.7: AP: CompassLearn: Finished
2025-01-30T06:49:04.2031166Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2031653Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=3.000000
2025-01-30T06:49:04.2032117Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2032732Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=4/10)
2025-02-04 09:31:40 +11:00
Clyde McQueen
1df67446f6 autotest: test poshold bounceback 2025-02-03 13:05:01 -03:00
D.J. Morvay
8c94c6e992 Reserving IDs for Lumenier. 2025-02-03 13:09:03 +11:00