Amusingly, at faster speedups the car made a decision to turn North
rather than South which it does when at lower speedups.
Gave it no choice in the matter.
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
This should resolve a race condition we have with guided position modes.
MAVProxy's heartbeat rate defaults to 1Hz.
When GCS failsafe is active on Copter because we're in GUIDED (or
GUIDED_NOGPS mode) we require a heartbeat every 5 seconds. At speedup
8, we can only expect a heartbeat every 8 seconds of sim time.
We also only check for this heartbeat every 3 seconds - leading to this
awesome race condition.
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