Commit Graph

347 Commits

Author SHA1 Message Date
Peter Barker 0a23de087c Tools: autotest: tests for new fence code
Tools: autotest: move clear_mission up, use it before running each test

Also have it understand MAV_MISSION_TYPE_ALL

Tools: autotest: add tests for polyfence

Tools: autotest: add tests for multiple inclusion polyfences

Tools: autotest: ensure we can't arm inside a circle exclusion zone

Tools: autotest: add test for arming outside an inclusion zone

Tools: autotest: add tests for upload timeout

Tools: autotest: add tests for not arming due to polygon zones

Tools: autotest: add test for fence point reboot survivability

Tools: autotest: add test for moving fence point

Tools: autotest: add some tests via MAVProxy

Tools: autotest: add test for avoiding polygonal exclusion zones

Tools: autotest: add test for object avoidance

Currently disabled as it doesn't pass where it seemingly should.

Tools: autotest: skip MAVProxy tests on older MAVProxy versions

Tools: autotest: adjust fence loading for lack of string back from MAVProxy

Tools: autotest: create a do_RTL function

Tools: autotest: cope with loading QGC-style fence files

Tools: autotest: add test for object-avoidance in guided mode

Tools: autotest: add OA test for auto mode

Tools: autotest: add test for bendy ruler in guided mode

Tools: autotest: adjust for new MAVProxy fence module not emitting old strings

Tools: autotest: add tests for prearming due to bad parameter values
2020-02-05 10:09:54 +11:00
Peter Barker 929fbc3bba Tools: autotest: add two basic tests for radio failsafe 2020-02-05 10:09:54 +11:00
Peter Barker 0da70fdc38 Tools: random Python cleanups based on lgtm analysis 2020-02-05 10:05:44 +11:00
Peter Barker 0eacb0e821 Tools: autotest: correct timeout on heli spline mission 2020-02-05 10:04:08 +11:00
Peter Barker d68c9572d9 Tools: autotest: add test for spline-as-last-waypoint 2020-02-05 10:04:08 +11:00
Peter Barker 56c6ba6a22 Tools: autotest: add test for follow mode 2020-02-05 10:04:08 +11:00
Peter Barker 479b2c5e11 Tools: autotest: allow nav-delay-abstime to delay arbitrary time 2019-08-21 16:08:24 +10:00
Peter Barker bf0a947317 Tools: autotest: improve test diagnostics 2019-08-08 08:35:52 +10:00
Peter Barker acf6cb8d75 Tools: autotest: rename clear_mission to clear_mission_using_mavproxy 2019-08-06 17:05:57 +10:00
Peter Barker bca35ac469 Tools: autotest: stop trying to arm Heli in throw mode 2019-08-06 17:05:41 +10:00
Peter Barker 12b9928a56 Tools: autotest: break out a load_fence function 2019-08-05 16:37:08 +10:00
Andrew Tridgell cee7cce1ca autotest: update vision position test for new msg 2019-08-05 13:58:08 +10:00
Pierre Kancir 12cb09a3f4 Tools: factorize sitl rangefinder setup 2019-07-11 11:52:44 +10:00
Pierre Kancir daaf769055 Tools: add arm/disarm testing on all modes 2019-07-11 11:42:45 +10:00
Pierre Kancir 9850d1afec Tools: update with flake8
W605 invalid escape sequence '\s'
F402 import 'time' from line 10 shadowed by loop variable
E101 indentation contains mixed spaces and tabs
E703 statement ends with a semicolon
2019-07-09 12:46:39 +10:00
Peter Barker e36231d547 Tools: autotest: loosen distance check when looking for lower point 2019-07-01 20:08:35 +10:00
Peter Barker 89ef13d32e Tools: autotest: reference issue in disabled beacon test 2019-07-01 12:12:43 +10:00
Peter Barker 5b14be92e6 Tools: autotest: change beacon test to use EKF3 2019-07-01 07:20:58 +09:00
Peter Barker b22fccd35d Tools: autotest: add test for beacon navigation 2019-07-01 07:20:58 +09:00
Peter Barker 6442dd1f2f Tools: autotest: make vision position test more reliable 2019-06-29 10:49:20 +10:00
Peter Barker 1827d88f9a Tools: autotest: use set_parameter for setting glitch offsets
This state was persistent across tests, which wasn't helping for
consistency.
2019-06-21 13:50:55 +10:00
Peter Barker 98cb68157f Tools: autotest: add a test for Copter surface tracking 2019-06-21 13:50:55 +10:00
Peter Barker 326e208123 Tools: autotest: allow switch to debounce in aux-switch test 2019-06-14 10:40:52 +10:00
Peter Barker 23f5fabbcf Tools: autotest: add tests for aux-switch options for mission reset and clear 2019-06-13 19:37:32 +10:00
Peter Barker 10120cee54 Tools: autotest: disable horizontal fence avoidance test showing bugs 2019-06-07 15:26:39 +10:00
Peter Barker 6e13adb43c Tools: autotest: add test for fence Avoidance 2019-06-07 15:26:39 +10:00
Peter Barker 9ee0befb38 Tools: autotest: Copter: add avoidance test for beacon fence 2019-06-04 09:06:07 +09:00
Peter Barker 3008fe6eb5 Tools: autotest: Copter: add test for fence avoidance sliding 2019-06-04 09:06:07 +09:00
Peter Barker acdddb8b1f Copter: autotest: Copter: add test for proximity boundary avoidance 2019-06-04 09:06:07 +09:00
Peter Barker 18391d8a9a Tools: autotest: produce stacktraces under Python3 2019-05-02 13:15:37 +10:00
Peter Barker 68769e24c1 Tools: autotest: add timeout for problematic spline test 2019-04-29 10:02:09 +10:00
Peter Barker b207c2607e Tools: autotest: correct spline waypoint arming sequence 2019-04-25 13:05:46 +10:00
Peter Barker 27f642014c Tools: autotest: add test for Copter onboard mag calibration 2019-04-23 10:06:17 +10:00
CAO MUQING 07747c5c09 Tools: autotest: add and update zigzag flight mode test for copter
Tools: autotest: add copter zigzag mode

Tools: autotest: update copter zigzag flight test
2019-04-19 07:51:49 +09:00
Peter Barker 18ed422a97 Tools: autotest: add test for flying spline waypoints 2019-04-16 21:41:58 +10:00
Peter Barker 119c5fe835 Tools: autotest: do not navigate to 0,0,0
This falls afould of the uninitialised-location check
2019-04-10 11:24:55 +10:00
Peter Barker 601504e685 Tools: autotest: ensure RNFD messages emitted 2019-04-09 22:17:58 +10:00
Peter Barker 7034ef2df7 Tools: autotest: raise throttle in loiter mode
This avoids the vehicle hitting the ground while we're looking for
messages.
2019-04-09 19:30:41 +10:00
Peter Barker 92970cf4ed Tools: autotest: add test for Copter poshold user takeoff 2019-04-09 08:15:39 +10:00
Peter Barker 83f6bed1dc Tools: autotest: add test for taking off in poshold in heli 2019-04-08 15:31:41 +10:00
Randy Mackay 0daed8c793 Tools: update autotest to use FLOW_TYPE 2019-04-08 11:26:59 +09:00
Rajat Singhal a87d388a6c Tools: autotest: Added tests for checking POSITION_TARGET messages for Copter
Tools: autotest: Added timeout, mavutil const in test_guided_local_target()

Tools: autotest: Corrected mesage checking in test_guided_local_target()

Tools: autotest: Fixed comments in test_guided_local_target()

Tools: autotest: Added test for checking whether correct local target is
received by Copter

Tools: autotest: added error tolerance, divided check into xyz components

Tools: autotest: Added test for correct local velocity target for Copter

Tools: autotest: Added test for checking if POSITION_TARGET_LOCAL messages are sent only in Guided Mode for Copter
2019-04-05 21:04:10 +11:00
Andrew Tridgell 84d5d4c933 autotest: fixed precision landing test for copter
make sure the target is away from the current location
2019-04-05 15:13:30 +11:00
Peter Barker 696de42eea Tools: autotest: check we're seeing PL messages in the log during
precland
2019-04-04 11:54:58 +11:00
Peter Barker b1119589e7 Tools: autotest: move AVC test into Copter-specific block 2019-04-01 11:35:59 +11:00
Peter Barker 74e4a7047f Tools: autotest: add simple test for Copter flying with MANUAL_CONTROL 2019-03-27 16:12:10 +11:00
Peter Barker 9a16b40a73 Tools: autotest: rename get_rudder_channel to get_stick_arming_channel
... as some of these aren't actually rudder inputs...
2019-03-27 11:29:53 +11:00
Peter Barker 25e5243b63 Tools: autotest: include drift in Copter ManualThrottle tests 2019-03-26 20:57:15 +11:00
Peter Barker e155ddbeba Tools: autotest: add yaw test for motor fail test 2019-03-25 16:57:41 +11:00
Peter Barker f19b831bc3 Tools: autotest: add brake mode test 2019-03-24 10:32:26 +11:00