Commit Graph

28 Commits

Author SHA1 Message Date
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
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
bnsgeyer 31e556099b Tools: clean up heli autotest file 2024-04-30 10:21:29 +09:00
bnsgeyer ee5fee268f Tools: modify heli autotest to prevent autorotation test failure 2024-04-30 10:21:29 +09:00
Peter Barker 484ce402eb autotest: helicopter: have land_and_disarm also lower the rotor speed
similarly for do_RTL
2024-04-20 12:59:27 +10:00
Peter Barker 5ba8755802 autotest: stop passing defaults in via --defaults to custom_sitl_commandline 2024-04-20 09:43:37 +10:00
bnsgeyer 0bdf073f38 Tools: Add Heli Autotune Autotest 2024-04-18 20:38:53 +10:00
Andy Piper 942be4f2f8 autotest: update PIDNotches to use AP_Filter format 2023-11-21 13:26:23 +11:00
Andy Piper 61e91dde35 autotest: add PID notches test 2023-11-21 13:26:23 +11:00
Peter Barker a8bd417527 autotest: cope with rename of AutoTest to Testsuite 2023-10-27 14:17:09 +11:00
Peter Barker f2f7f7de3b autotest: add test for Plane MAV_CMD_DO_VTOL_TRANSITION mission item 2023-09-13 11:48:27 +10:00
Pierre Kancir 31ee88adbb Tools: use isinstance for type comparison 2023-09-02 13:27:25 +10:00
Pierre Kancir 904486c846 Tools: fix flake8 test 2023-09-02 13:27:25 +10:00
bnsgeyer 357043f815 Tools: update autotest to work with heli SITL model changes 2023-08-07 22:10:09 -04:00
Peter Barker c99b5e5d47 autotest: remove copter wait_for_alt
use common wait_altitude instead
2023-08-05 20:05:08 +10:00
Andy Piper 076a0e848c autotest: relax test limits for single-precision 2023-08-02 16:22:59 +01:00
bnsgeyer c8fc238e62 Tools: add throttle curve and governor autotest for tradheli 2023-06-16 23:18:23 +10:00
Peter Barker c34c60e852 autotest: add nasty mission tests 2023-02-20 21:20:20 +11:00
Bill Geyer f7317966dc Tools: autotest for Tradheli turbine start feature 2023-02-19 06:39:12 -05:00
Bill Geyer 713bc5b86e Tools: tradheli autotest for manual autorotation power recovery 2023-02-17 12:52:39 -05:00
Bill Geyer 9b60072a04 Tools:Autotest: tradheli improvements
set servo8 min-max for heli default params
improve heli-dual default params
modified dual heli default params for new sitl model
allow spool up time for heli takeoff
2023-02-13 18:32:37 -05:00
Iampete1 7b171867af Tools: autotest: set new ARSPD_ENABLE param where needed 2023-01-03 10:17:56 +11:00
Peter Barker ba6cf1a42b autotest: remove disabled LogUpload test
This has been unused for a long time, and is getting in the way of reforms.  Its position as a test rather than as a part of a framework was always going to cause oddities, particularly after we split the Copter tests into several chunks.
2022-09-11 20:45:13 +10:00
Peter Barker 80c36ecc97 autotest: use reflection to collect test details
We had a pattern emerging of using the test name as the method name to contain the actual test.  We also tended to duplicate the docstrings in the test description - or omit the docstring.

This uses reflection to retrieve both the test name and the description, meaning less duplication of this information and enforcing having docstrings on the test methods.
2022-09-10 18:27:27 +10:00
Pierre Kancir 4e2e4fa4d4 Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
Josh Henderson a60c1168ef Autotest: Helicopter add airspeed driver test 2022-01-19 18:21:32 +11:00
Peter Barker 93e6cfef35 autotest: move helicopter tests to own file 2021-09-27 11:58:39 +10:00