Commit Graph

3113 Commits

Author SHA1 Message Date
Andrew Tridgell
0210d7c60c autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-09-30 07:44:42 +10:00
Andrew Tridgell
9dd2301198 autotest: move do_aux_function to common 2022-09-30 07:44:42 +10:00
Peter Barker
0c5f972ddb autotest: add ability to watch-and-maintain from SIM_STATE.alt 2022-09-29 20:00:01 +10:00
Peter Barker
bd364b6169 autotest: specify baudrate for NMEA GPS for testing 2022-09-28 20:53:34 +10:00
Peter Barker
87dfd7f541 autotest: remove use of fstring
breaks under python2
2022-09-28 08:17:02 +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
8e3021e147 autotest: check target system on return mission_item_int packets 2022-09-25 19:25:53 +10:00
Peter Barker
f9bc7e44f8 autotest: add a method to easily install message printer 2022-09-22 18:14:49 +10:00
m
635df2ca45 autotest: check local home location 2022-09-21 15:58:25 +10:00
Peter Barker
d3f6d9eaa3 autotest: make proximity sensor test more reliable 2022-09-21 11:58:38 +10:00
Reilly Callaway
b839fb582c Tools: Add kg per cubic meter unit metadata 2022-09-20 15:24:48 +10:00
Iampete1
ef9f5a9552 Tools: autotest: update copter param validation check 2022-09-19 20:57:51 -04:00
Peter Barker
ac14c3bba6 autotest: make error in test_build_options.py clearer 2022-09-20 09:28:27 +10:00
Peter Barker
267c16cd72 autotest: wait for heartbeat before determining armed state
Fixes a race condition when finishing a mission where we may receive the disarmed text but the most recent heartbeat says we are armed.
2022-09-19 17:52:18 +10:00
Peter Barker
0e9abea655 autotest: explicitly fail reboot if armed 2022-09-19 17:52:18 +10:00
Shiv Tyagi
a4c88ab2c0 autotest: use guided mode to move Rover away for Dock test 2022-09-19 17:51:48 +10:00
Peter Barker
b5be0dcd14 autotest: correct reboot in failure case for dock mode test
reboot will fail if we are still armed
2022-09-19 09:29:04 +10:00
Peter Barker
d4587e787e autotest: add a drive_to_location for Rover 2022-09-19 09:28:39 +10:00
murata
9c52930d87 autotest: Add test "RC not found" 2022-09-15 17:59:37 +10:00
Luiz Georg
be9e0aefd8 Autotest: fixes bisect-helper for python 3.10 2022-09-15 10:52:33 +10:00
Peter Barker
722a95f825 autotest: fail if no steps supplied and not autotest server 2022-09-13 11:52:05 +10:00
m
61bb575422 autotest: Fix watch_altitude_maintained for Copter 2022-09-13 07:43:15 +10:00
Peter Barker
109d0286d9 autotest: correct type-check
py2 vs py3
2022-09-12 21:04:39 +10:00
Peter Barker
b1909d9edf autotest: create and use a Result object to ship failure data around 2022-09-12 08:49:04 +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
87e97ca5b2 autotest: remove syntax test for test lambdas
We no longer permit the use of lambda functions in test lists
2022-09-11 17:21:38 +10:00
Peter Barker
cd50b91904 autotest: correct running of single test
... and stop using run_tests entrypoint to the AutoTest objects as it does cause confusion
2022-09-11 17:15:53 +10:00
Peter Barker
bb1c43b0a2 autotest: ensure MAVProxy arm attempt times out 2022-09-11 17:00:50 +10:00
m
3fdcf5f940 autotest: test landed state of copter during takeoff in auto mode 2022-09-10 21:53:23 +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
Peter Barker
b06afa8316 autotest: reset sitl if forced disarm fails 2022-09-10 14:35:25 +10:00
Peter Barker
4caaf1533f autotest: check context for expected esc-rpm statustext 2022-09-10 09:21:44 +10:00
Peter Barker
71d1c050b3 autotest: move log_name method for balancebot to within class 2022-09-09 20:32:59 +10:00
Shiv Tyagi
6393ef6b8e Tools: fix Rover AutoDock test 2022-09-09 19:12:30 +10:00
Peter Barker
1a46a27bb8 Tools: remove vestiges of travis autotest hooks
travis had a split into two tests, test1 and test2 - which we no longer need
2022-09-09 12:08:59 +10:00
Michael du Breuil
80d7bf9b11 Tools: Update autotest to accomodate accel cal changes 2022-09-09 08:52:14 +10:00
Peter Barker
e9bffe2045 autotest: throw exception when GIMBAL_DEVICE_ATTITUDE_STATUS not received 2022-09-08 21:13:15 +10:00
Andy Piper
203f691df4 autotest: add takeoff check test 2022-09-07 17:03:03 +01:00
Randy Mackay
4108e4b77f Tools: copter autotest integrates MNT param changes 2022-09-06 13:53:25 +09:00
Randy Mackay
b9a3c4bd0d Tools: vee-gull default param update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay
785500cdc8 Tools: copter-gimbal param file update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay
4aa9c260ba Tools: sub param default updates for MNT changes 2022-09-06 13:53:25 +09:00