Commit Graph

358 Commits

Author SHA1 Message Date
Peter Barker fecca9a559 autotest: add tests for serial RangeFinder drivers 2019-12-03 09:07:09 +11:00
Peter Barker 29fda1681b Tools: add test for mount targetting 2019-11-12 07:52:22 +08:00
Peter Barker 48657dd2c9 autotest: replace setHeartbeat(bool) with setHeartbeat(float)
We don't do heartbeats at 1Hz - we do them at the speedup rate.
2019-11-08 19:49:46 +11:00
Peter Barker ece59f8233 autotest: replace wait_seconds with delay_sim_time
These did exactly the same thing
2019-11-08 19:49:46 +11:00
Peter Barker 2dd47e54e7 autotest: remove default True parameter to setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker 74eb6760ea autotest: correct setHeatbeat -> setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker 9605639070 autotest: loosen check on follow-mode check 2019-11-05 19:55:45 +11:00
Peter Barker f177679e61 autotest: add more tests for mount behaviour 2019-11-05 19:55:45 +11:00
Matt Lawrence 8d2a624fcc Autotest: Refactor failsafe tests 2019-11-03 07:07:34 +08:00
Peter Barker ec9eaeab10 autotest: increase allowed time for receiving ack to compass-cal cmd
Saw an instance of this timeout happening on the server
2019-10-18 12:24:40 +11:00
Andy Piper f02d21811d Tools: autotest dynamic notches 2019-10-10 20:26:02 +09:00
Peter Barker c5f52a8355 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
2019-09-28 07:58:48 +09:00
Peter Barker a386048be7 Tools: autotest: add two basic tests for radio failsafe 2019-09-26 15:19:10 +10:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker de3c9340cb Tools: autotest: correct timeout on heli spline mission 2019-09-19 22:39:10 +10:00
Peter Barker 1a7284ca73 Tools: autotest: add test for spline-as-last-waypoint 2019-09-17 09:05:23 +09:00
Peter Barker 36ba3a6e4c Tools: autotest: add test for follow mode 2019-09-16 12:00:11 +10: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