Commit Graph

4035 Commits

Author SHA1 Message Date
Peter Barker
5d053d6722 Tools: sim_vehicle.py: increase number of mavproxy connection retries
some platforms are slow enough that the ArduPilot process takes too long to start for the default retries to work.  And Valgrind makes it worse
2025-02-26 20:26:55 +11:00
Peter Barker
07b0ac9ffe Tools: remove Python print_function import 2025-02-26 10:06:11 +11:00
Henry Wurzburg
a7341aa317 Tools:tweak autotrim test 2025-02-25 09:38:59 +09:00
Peter Barker
30ffcaa8bd autotest: test terarangeri2c 2025-02-25 11:12:06 +11:00
Peter Barker
ae55f9a020 autotest: add a test for brake/land failsafe 2025-02-24 12:56:07 +11:00
Leonard Hall
ab59a00ae1 Tools: Add Jervis_Bay to locations 2025-02-18 19:15:15 +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
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
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
e9e419d252 autotest: add test for fetching invalid fence point 2025-02-06 10:20:23 +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
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
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
Peter Barker
fe9fc8817b autotest: correct python used for clang-scan-build 2025-01-30 08:48:19 +11:00
Peter Barker
7d8a629e64 autotest: add test for COMPASS_LEARN=2, copy-from-EKF 2025-01-28 21:55:47 +11:00
Peter Barker
a405c67452 autotest: add a test for in-flight compass learning 2025-01-28 12:23:53 +11:00
Iampete1
d4ddea5c64 Tools: autotest: copter: RecordThenPlayMission expect takeoff as first item 2025-01-28 10:30:06 +11:00
Peter Barker
b4ec9a73ec autotest: point to dotriaconta_octaquad_x setup script in vehicleinfo.py 2025-01-27 14:03:41 +11:00
Peter Barker
f0d6622212 Tools: rename m32 frame to dotriaconta_quad_x 2025-01-27 14:03:41 +11:00
Peter Barker
51a56dc909 autotest: rename dotriaconta_quad_x defaults file 2025-01-27 14:03:41 +11:00
murata
46b1bd6866 autotest: Support Hexadeca-Octa (OCTA-X16) 2025-01-27 14:03:41 +11:00
Peter Barker
00bd5710ab autotest: support installing a script to setup frame motor layout 2025-01-27 14:03:41 +11:00
Andrew Tridgell
843262ca3d autotest: added m32 frame 2025-01-27 14:03:41 +11:00
Peter Barker
00c1f1456e SITL: correct documentation metadata for FETTechOneWireESC and RichenPower and IE24
.... we had documentation for these parameters but it wasn't being used!
2025-01-25 08:10:38 +11:00
Peter Barker
6413da902d autotest: add missing closing-parenthesis
because it is dramatically aesthetically wrong
2025-01-24 19:57:29 +09:00
Jeevan K
24a764c502 Tools : Remove documented params from whitelist 2025-01-24 07:05:51 +11:00
Andy Piper
d64cf3ec2d autotest: allow wsl2 networking bridge to be ignored 2025-01-22 18:59:44 +11:00
Gone4Dirt
4343f21a2d Autotest: Heli: Update autorotation tests following restructure
Tools: fix autotest helicopter.py formatting
2025-01-22 18:53:44 +11:00
Henry Wurzburg
d59b5a5b40 Tools: mode AUTOLAND enhancements
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Pete Hall <iampete@hotmail.co.uk>
2025-01-21 11:30:23 +11:00
Peter Barker
aff20db1a1 autotest: correct copter-tailsitter parameter file for RNGFND1_MIN_CM rename
also fix a race condition in the quadplane-tailsitter test - which is unlikely to ever trigger
2025-01-21 10:54:05 +11:00
Peter Barker
18f95ba41b Tools: allow for more than 327m range rangefinders 2025-01-21 10:54:05 +11:00
Jacob Dahl
d8c232d452 Tools: ARK_FPV board support 2025-01-20 10:17:37 +11:00
Jeevan K
f95a8e96a7 Tools: remove sonar_pos param from white list 2025-01-17 08:11:27 +11:00
Peter Barker
e7801c1101 Tools: add test for Volz servos 2025-01-15 18:45:45 +11:00
Peter Barker
ed626f57aa Tools: add plane-redundant 2025-01-15 18:45:45 +11:00
Randy Mackay
5be8b19ce4 Tools: param AlphabeticalZeroAtTop handles -1 2025-01-15 14:54:14 +09:00
Iampete1
4088ab91c6 Tools: autotest: TestSuite: reboot_check_valgrind_log check file exists before trying to stat it. 2025-01-14 23:26:07 +11:00
Peter Barker
7c2d329d75 Tools: remove command-line option enabling synthetic clock
it's always on, all the time

this has always been set for many years
2025-01-14 09:38:52 +11:00
Peter Barker
ca4ffb58a1 autotest: remove misleading and inoperative build_opts lines 2025-01-13 22:14:27 +11:00