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
bac008d51c
autotest: tidy pre_arm_checks
2024-07-02 09:56:40 +10:00
Peter Barker
a77a0c22a7
autotest: add test for logged script statistics
2024-06-25 11:07:07 +10:00
Peter Barker
47625e693e
autotest: test guided attitude control with no GPS
2024-06-11 14:17:10 +10:00
Paul Riseborough
5c76e77c11
autotest: Reduce time threshold used in plane deadreckoning test
2024-06-09 14:25:02 +10:00
Andrew Tridgell
09623f46e8
autotest: enable LOG_REPLAY in deadreckoning test
2024-06-09 14:25:02 +10:00
Paul Riseborough
b17e189473
Tools: update AHRS_OPTIONS for dead reckoning test
2024-06-09 14:25:02 +10:00
Paul Riseborough
19f6b2d6d6
Tools: relax req accuracy for plane dead reckoning when not using airspeed
2024-06-09 14:25:02 +10:00
Paul Riseborough
9d2b05840b
Tools: Disable DCM fallback for plane dead reckoning tests
2024-06-09 14:25:02 +10:00
Paul Riseborough
87a867ee2e
Tools: Use GPS jamming option in EKF dead reckoning autotests
2024-06-09 14:25:02 +10:00
Paul Riseborough
8639543cdd
Tools: Allow dead reckoning test longer to learn wind if no aspd sensor
2024-06-09 14:25:02 +10:00
Paul Riseborough
2b027a7265
Tools: re-work copter and plane loss of GPS auto tests
...
Explicitly test time taken to reset to GPS loss and regain of lock for copter without and plane with dead reckoning assistance.
2024-06-09 14:25:02 +10:00
Peter Barker
f930ba788b
autotest: add test showing throttle saturation problem
...
autotest: verbose minimum_duration in wait_message_field_values
2024-05-21 14:23:36 +10:00
Andrew Tridgell
1da50110d8
Tools: added Glider SITL model
2024-05-05 07:57:54 +10:00
Ryan Friedman
2c803e365e
Tools: Autotest: Test for EAHRS misconfiguration prearm failure
...
* And test for single GPS reporting on Microstrain7
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-04-30 09:18:46 +10:00
Peter Barker
bcf63326ea
autotest: install hook in context
...
busted sanity check allowed this to survive
2024-04-29 17:51:00 +10:00
Andrew Tridgell
54bfaa4438
autotest: skip stratoship test
2024-04-27 22:03:05 +10:00
Peter Barker
5ba8755802
autotest: stop passing defaults in via --defaults to custom_sitl_commandline
2024-04-20 09:43:37 +10:00
Peter Barker
c578a18b7f
autotest: add test for compass_learn=3 when using gps-for-yaw
2024-04-11 20:49:03 +10:00
Peter Barker
0e4b41baa6
Tools: rename GPS_ to GPS1_
2024-03-19 19:50:12 +11:00
Peter Barker
89bdb14916
Tools: adjust for GPS parameter renames
2024-03-19 19:50:12 +11:00
Peter Barker
3ca6e29ad1
autotest: reimplement wait_location with new object-based approach
...
the existing wait_and_maintain method is problematic when it comes to waiting on different value types.
2024-03-07 09:41:57 +11:00
Iampete1
4a310fb207
Tools: autotest: Plane: add min throttle test
2024-03-05 11:38:28 +11:00
Andrew Tridgell
1d08662c72
autotest: fixed parameters for tilt quadplanes
...
and enable autotest of the disabled tilt quadplane frames
2024-02-18 16:28:43 +11:00
Peter Barker
0eb73c1db2
autotest: only check for PitotBlockage once vehicle is loitering
...
vehicle should be a in a steady state before we make the ratio change to synthesise a pitot blockage.
Otherwise, changes to the shape of the takeoff will affect the heuristics used to detect pitot blockage.
2024-02-10 20:56:00 +11:00
J.R. Bronkar
3a3f4ea446
autotest: Fractional Loiter Turn Test
2024-01-22 20:27:20 -08:00
Andrew Tridgell
7de56d434c
Tools: fixed parameter names
2024-01-23 15:00:30 +11:00
Andrew Tridgell
286f6887bd
Tools: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM
2024-01-23 15:00:30 +11:00
Andrew Tridgell
863f25e645
Tools: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX
2024-01-23 15:00:30 +11:00
Andrew Tridgell
4fea71246d
Tools: change TRIM_ARSPD_CM to AIRSPEED_CRUISE
2024-01-23 15:00:30 +11:00
Peter Barker
0b7f6c90e5
autotest: stop testing embedded param parser
...
we're moving to ROMFS defaults files
2024-01-17 18:28:48 +11:00
Michael du Breuil
a45353b17f
autotest: Update tests for relay
2023-12-19 10:01:01 +11:00
Thomas Watson
de5b46e028
Tools: remove references to legacy UART order
...
Also delete some unused variables and update the completions.
2023-12-19 06:53:15 +11:00
Andrew Tridgell
59ec0a6b56
Tools: added test for InertialLabs EAHRS
2023-12-17 09:47:30 +11:00
Andrew Tridgell
75fca4c171
Tools: fixed AerobaticsScripting test
...
we no longer allow open() on directories so that we match ChibiOS
FATFS
2023-12-11 18:00:38 +11:00
Ryan Friedman
bcd11701fa
Tools: Add MicroStrain7 support
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Andrew Tridgell
d625a1b13b
Tools: fixed EFI test suite disarm
2023-11-17 13:09:02 +11:00
Andrew Tridgell
6b2fe38ce8
Tools: fixed fuel flow EFI test
2023-11-17 13:09:02 +11:00
Peter Barker
6c0d540afe
autotest: add simulator Hirth EFI
2023-11-17 13:09:02 +11:00
Peter Barker
6439528d6a
autotest: augment tests for running the prearm checks
2023-11-01 19:30:44 +11:00
Iampete1
9ed5dfc768
Tools: autotest: Plane: TerrainRally: test terrain alt frame on rally point
2023-11-01 19:06:39 +11:00
Iampete1
220ab515b7
autotest: plane: add MAV_CMD_NAV_ALTITUDE_WAIT wiggle check
2023-10-31 14:06:22 +11:00
Peter Barker
a8bd417527
autotest: cope with rename of AutoTest to Testsuite
2023-10-27 14:17:09 +11:00
Peter Barker
73be6c55f7
Tools: add Sagetech MXS simulator
2023-10-25 20:06:47 +11:00
Peter Barker
7d9cd3c1de
Tools: accept LOITER_UNLIM and RETURN_TO_LAUNCH as command_int
2023-10-17 12:58:57 +11:00
Andrew Tridgell
823a917ae1
autotest: added Plane.TerrainRally test
...
reproduces the issue from
https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Peter Barker
c942dad35e
Tools: allow Plane to run MAV_CMD_MISSION_START as long and int
2023-10-11 19:05:56 +11:00
Peter Barker
54c5809428
Tools: add InterActTest to show interaction with automated setup
2023-10-06 13:03:53 +11:00
Peter Barker
3dfd06cff2
Tools: add tests for MAV_CMD_DO_LAND_START for both int and long
2023-10-04 19:04:25 +11:00
Peter Barker
4adc3fb25f
autotest: test MAV_CMD_DO_AUX_FUNCTION as both COMMAND_LONG and COMMAND_INT
2023-10-04 19:01:22 +11:00