Commit Graph

301 Commits

Author SHA1 Message Date
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
Peter Barker
16476332b2 Tools: autotest: fix no-gps switch-to-location test 2019-03-22 08:19:42 +11:00
Peter Barker
6bf600c587 Tools: autotest: cope with being unable to reboot while armed 2019-03-19 10:53:37 +11:00
Peter Barker
9ca2c9d692 Tools: autotest: python3 fixes
Tools: autotest: use inbuilt zip on Python3
2019-03-13 20:26:24 +11:00
Peter Barker
72aeb26e86 Tools: autotest: allow more time for gps-glitch-in-auto test to run 2019-03-13 16:03:30 +11:00
Peter Barker
3a6298db9b Tools: autotest: loosen maximum distance allowed on loiter-to-ne 2019-03-13 14:51:04 +11:00
Peter Barker
d53f787a14 Tools: factor init up into parent class
Tools: autotest: use speedup 8 for all suites

for reliability
2019-03-13 08:20:20 +11:00
Peter Barker
f7ecba1a36 Tools: autotest: shove resets shove-time to zero; eliminate race condition 2019-03-12 16:09:03 +11:00
Peter Barker
e045f61473 Tools: autotest: add test for throw mode 2019-03-12 11:09:37 +11:00
Peter Barker
b47b97a981 Tools: autotest: add test for QuadPlane controller pre-arm checks 2019-03-12 10:14:14 +11:00
Peter Barker
b450355ff6 Tools: autotest: remove needless wrappers, initialisation etc around guided-submode test
Also disable disarm delay due to autotest mavlink traffic issues
2019-03-11 16:19:30 +11:00
Peter Barker
28e27b4120 Tools: autotest: improve test reliability
Also remove redundant reset code

Tools: autotest: drain mav and all pexexpects before running each test

Tools: autotest: increase some timeouts for failures when running under GDB

Tools: autotest: correct ordering of operations in mount test
2019-03-11 13:59:51 +11:00
Peter Barker
9f80e5b5f5 Tools: autotest: fix horizontal fence test
We do not receive position updates fast enough to reliably detect the
vehicle to be within 10m of home, so increase that radius
2019-03-11 11:25:04 +11:00
Peter Barker
c5c67362fa Tools: autotest: do not test Copter for loiter-requires-position 2019-03-11 11:03:03 +11:00
Peter Barker
d48eab893a Tools: autotest: stop swallowing critical messages with get_sim_time() 2019-03-10 21:55:51 +11:00
Peter Barker
01440f2587 Tools: autotest: increase debug on precland 2019-03-10 20:09:27 +11:00
Peter Barker
a504f9ac8d Tools: autotest: add option to use cached home for distance_to_home 2019-03-09 12:44:06 +11:00
Peter Barker
529903622d Tools: autotest: reduce output lines in NavDelay test
Also remove pointless (unclosed) contexts and try blocks
2019-03-09 10:03:10 +11:00
Peter Barker
19f51813f2 Tools: autotest: include mavproxy output in all vehicle test log files 2019-03-08 23:21:27 +11:00
Peter Barker
194142b343 Tools: autotest: add simple test for fence prearms 2019-03-08 08:57:27 +09:00
Peter Barker
91436c5314 Tools: autotest: add test for high-throttle-at-mode-change 2019-03-07 11:33:20 +11:00
Peter Barker
0cdb1c9d1e Tools: autotest: remove redundant wait-ready-to arm output 2019-03-07 08:36:35 +11:00
Peter Barker
e800ae21ed Tools: autotest: add simple test that althold works 2019-03-06 18:15:13 +11:00
Peter Barker
d3b8504757 Tools: autotest: improve debug output 2019-03-06 15:59:32 +11:00
Peter Barker
b40f03dfbe Tools: autotest: add test for Copter PID parameter checks 2019-03-06 10:36:32 +09:00
Pierre Kancir
b45e2ed6ab Tools: correct log download for copter 2019-03-01 20:48:39 +11:00
Peter Barker
d43bcf4649 Tools: autotest: add simple mode-requires-position test for Copter 2019-03-01 13:43:20 +09:00
Peter Barker
50687c9add Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests 2019-02-28 12:53:07 +11:00
Peter Barker
4d0ae8c371 Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED 2019-02-26 14:09:21 +11:00
Peter Barker
e9fc158c8a Tools: autotest: eliminate use of recv_match with condition
We have functions for achieving this

Also, a lot of these places were missing timeouts, so any failure would
cause the entire suite to stop running
2019-02-22 16:30:05 +11:00
Pierre Kancir
7e12f16be6 Tools: fix lambda test 2019-02-22 08:04:03 +11:00
Peter Barker
c0394e9577 Tools: autotest: tidy handling of SITL start position 2019-02-16 19:14:48 +11:00
Peter Barker
025f007f96 Tools: autotest: simplify mission loading 2019-02-16 10:27:41 +11:00
Peter Barker
a1aefaff27 Tools: autotest: add parachute tests
Tools: autotest: add test for triggering parachute via mavlink

Tools: autotest: add Copter mission test for parachute release

Tools: autotest: add Plane test for parachute deployment in auto
2019-02-13 09:25:27 +09:00
Peter Barker
6f1f98dc3c Tools: autotest: add assumption run_tests is only called once - remove hasInit 2019-02-09 11:31:17 +11:00
Pierre Kancir
8a7555bf56 Tools: autotest: fix up the arming tests
Tools: unify arm function failure message

Tools: get autodisarm time from parameter for autodisarm test

Tools: disable autodisarm for arm/disarm tests.

Tools: fix interlock channel for heli

Tools: simplify arming_test sub exclusion

Tools: fix empty string in progress

Tools: add back arming test to plane

Tools: allow single test run on Sub

Tools: remove old comments on autotest common

Tools: add vehicle type getter function

Tools: make get_rudder_channel abstract method

Tools: common make get_disarm_delay abstract method

Tools: make set_autodisarm_delay abstract method

Tools: rename set_throttle_zero to zero_throttle and use it

Tools: common.py remove unnecessary exception

Tools: subclass vehicle type
2019-02-09 10:04:57 +11:00
Peter Barker
fe2f9f1f14 Tools: autotest: improve autotest output 2019-02-07 08:51:13 +11:00
Dmitri Ranfft
4e8f3a7a3a Autotest: renamed requested RangeFinder parameters to account for the new changes. 2019-02-04 11:08:52 +09:00
Peter Barker
1fcd7fac06 Tools: autotest: add test for flip mode 2019-02-04 11:07:28 +09:00
Peter Barker
e23313e16b Tools: autotest: ensure RC input is at defaults before each test 2019-02-04 08:00:07 +11:00
Peter Barker
fa37ad344b Tools: autotest: refactor setting of rc defaults 2019-02-04 08:00:07 +11:00
Peter Barker
2834fd8017 Tools: autotest: add test for channel override cancel 2019-02-01 11:48:01 +11:00
Peter Barker
44ff21479d Tools: autotest: add a test for RTL speed 2019-01-31 19:34:32 +09:00
Peter Barker
b66f80f452 Tools: autotest: allow heli tests to be run individually 2019-01-16 21:36:13 +11:00
Peter Barker
d0aaf34db5 Tools: autotest: add option to skip tests if they're annoying us in CI 2019-01-14 20:15:47 +11:00
Peter Barker
ecb3cabf72 Tools: add flight test for rangefinder in Copter 2019-01-09 16:55:42 +11:00
Peter Barker
55f751a8f4 Tools: autotest: add some tests for Copter parachute functions 2019-01-09 13:16:03 +11:00