Commit Graph

400 Commits

Author SHA1 Message Date
Peter Barker d182baa6b8 auototest: fail test if pymavlink too old 2023-07-07 12:21:27 +10:00
Henry Wurzburg 8201b6b214 Tools:add reboot for failing CI test 2023-07-04 10:24:30 +10:00
Andrew Tridgell 4e09fe04a3 Tools: added test for MAV_CMD_EXTERNAL_POSITION_ESTIMATE 2023-06-06 15:19:12 +10:00
Andrew Tridgell 0b34df3328 autotest: update airspeed test for new message 2023-05-09 11:26:33 +10:00
Iampete1 6659b02e14 Tools: autotest: Plane: expand guided attitude target test 2023-04-18 09:36:06 +10:00
Peter Barker 2529c7fc40 autotest: add test for RESET_MODE_SWITCH 2023-04-18 09:19:20 +10:00
Peter Barker 38390d2840 autotest: allow more time for deepstall text
intermittent failures in CI - perhaps due to Plane dynamics changes
2023-04-17 21:26:07 +10:00
Peter Barker 5cc046b9cc Tools: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker 7563dcd916 autotest: correct race condition in spiral test 2023-03-11 20:17:48 +11:00
Andrew Tridgell 1530dbde3d autotest: added test of BRD_SD_MISSION
check that we can create and compare 4368 WPs
2023-03-10 14:13:55 +11:00
Randy Mackay c33de6c872 Tools: autotest fix for plane TestRCCamera 2023-03-01 18:18:51 +11:00
Shashwat Ganesh 11fb7c64e0 Tools: plane: GCSFailsafe test: cleanup timeouts 2023-02-27 07:56:25 +11:00
Shashwat Ganesh 2ffae80866 Tools: plane: GCSFailsafe test: cleanup parameters 2023-02-27 07:56:25 +11:00
Shashwat Ganesh dba76d2c8b Tools: plane: test gcs failsafe: FBWA and Parachute 2023-02-26 09:56:47 +11:00
Shashwat Ganesh ea206670c4 Tools: plane: test gcs failsafe: RTL 2023-02-26 09:56:47 +11:00
Tom Pittenger f96a3176ab autotest: more jumptag test 2023-02-22 05:33:38 -08:00
Peter Barker 20279417e8 autotest: more tests for jump tags 2023-02-22 05:33:38 -08:00
Peter Barker edb301a4d0 autotest: add tests for JumpToTag 2023-02-22 05:33:38 -08:00
Peter Barker fab1c47b27 autotest: add test for calibrating different nos of airspeed sensors
only success is checked for, not the calibration values
2023-02-21 17:07:41 +11:00
Andrew Tridgell d00290edfe autotest: added AltResetBadGPS test
this tests the bug in handling a glitching GPS with low accuracy with
AHRS alt reset
2023-02-19 10:45:42 +11:00
Peter Barker 69b8e30f28 autotest: rename remove_example_script to remove_installed_script 2023-02-17 12:54:49 +11:00
Peter Barker 17429bb687 autotest: reboot after DCMFallback test
EKF3 can remain annoyed for a very, very long time after disarm
2023-02-07 19:24:59 +11:00
Peter Barker f20769057b autotest: give WindEstimate more time to converge
this was right on the edge
2023-01-06 15:06:22 +11:00
Peter Barker 1a262010ff autotest: simplify Plane Rangefinder test
this was written before there was an implicit context and reboot-on-failure at the level calling these tests
2023-01-04 18:29:41 +11:00
Peter Barker 128a6430de autotest: add test for AHRS backend wind estimates 2023-01-04 12:30:27 +11:00
Peter Barker c95daeea3e autotest: fix race condition in NeedEKFToArm
EKF may still be active when arming is first attempted
2022-12-16 11:06:56 +11:00
Peter Barker dfb88839d3 autotest: loosen channel-value constrain in Soaring test
test is flapping here, channel value is moving in right direction
2022-12-02 12:12:32 +11:00
Andrew Tridgell 76b83c3d57 autotest: fixed aerobatics test for new Schedules location 2022-11-28 10:40:50 +11:00
Andrew Tridgell 2409b69245 autotest: adjust aerobatics test for new airshow schedule 2022-11-28 06:23:29 +11:00
Peter Barker ce6763cc91 autotest: add test for Plane MANUAL_CONTROL handling 2022-11-23 19:33:46 +11:00
Paul Riseborough 740b7ba041 autotest: allow for reduced overspeed in DO_CHANGE_SPEED_mission plane test
Plane was overspeeding more in legacy TECS which meant it arrived at the test waypoint sooner.
2022-11-18 05:43:59 +11:00
Andrew Tridgell 38a9269822 autotest: lower aerobatics speedup to 5 2022-11-12 10:45:18 +11:00
Andrew Tridgell 46d41e5995 autoest: fixed spelling
and adjust max error for aerobatics
2022-11-12 07:34:21 +11:00
Andrew Tridgell f2da06ebdf autotest: adjust aerobatics test for BarrellRoll 2022-11-11 14:19:44 +11:00
Andrew Tridgell 4ab0919d63 autotest: run aerobatics at slower speedup
need more cycles for lua
2022-11-11 08:25:33 +11:00
Andrew Tridgell 0abeca15e2 autotest: added scripting aerobatics test 2022-11-10 13:53:15 +11:00
Peter Barker bacbac798c autotest: add tests for embedded defaults parsing 2022-10-13 14:38:30 +11:00
Andrew Tridgell 14be09d72c autotest: don't try and fly the ICE aircraft
they would need ignition control
2022-10-07 07:53:50 +11:00
Andrew Tridgell 9dd2301198 autotest: move do_aux_function to common 2022-09-30 07:44:42 +10:00
Peter Barker 3bf76dbb64 autotest: augment Plane following test to ensure we terrain follow 2022-09-27 21:32:42 +10:00
Paul Riseborough 221dc5c4d1 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-09-26 14:17:53 +10:00
Paul Riseborough 94f791c13e Tolls/autotest: Fix Flake8 style check fails 2022-09-26 14:17:53 +10:00
Paul Riseborough b2e9d01a2e Tools/autotest: fail pitot tube at start of takeoff 2022-09-26 14:17:53 +10:00
Paul Riseborough 2ee8a34f70 Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough 235cbbde1c Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough 5a1f02bbf2 Tools: Python coding style fixes 2022-09-26 14:17:53 +10:00
Paul Riseborough 3bf3a0348a Tools: Add partial unblockage to pitot blockage test 2022-09-26 14:17:53 +10:00
Paul Riseborough d9321d09b3 Tools: Add autotest for pitot tube blockage handling 2022-09-26 14:17:53 +10: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