Peter Barker
601504e685
Tools: autotest: ensure RNFD messages emitted
6 years ago
Peter Barker
9a16b40a73
Tools: autotest: rename get_rudder_channel to get_stick_arming_channel
...
... as some of these aren't actually rudder inputs...
6 years ago
Peter Barker
6bf600c587
Tools: autotest: cope with being unable to reboot while armed
6 years ago
Peter Barker
d53f787a14
Tools: factor init up into parent class
...
Tools: autotest: use speedup 8 for all suites
for reliability
6 years ago
Peter Barker
6418226106
Tools: autotest: increase test diagnostics
...
Tools: autotest: improve wait_distance_home_gt output
Tools: autotest: emit progress for parameter sets
Tools: autotest: add progress for RC health checks
Tools: autotest: remove pointless context
6 years ago
Peter Barker
d48eab893a
Tools: autotest: stop swallowing critical messages with get_sim_time()
6 years ago
Peter Barker
c464da69f1
Tools: autotest: fix Plane guided test
...
70 degrees is past LIM_ROLL_CD!
6 years ago
Peter Barker
19f51813f2
Tools: autotest: include mavproxy output in all vehicle test log files
6 years ago
Peter Barker
0efb404ff6
Tools: autotest: add simple test for AIRSPEED_AUTOCAL
6 years ago
Peter Barker
8c35ddc0eb
Tools: autotest: add PID_TUNING test
6 years ago
Peter Barker
50687c9add
Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests
6 years ago
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
6 years ago
Francisco Ferreira
b2523021fb
Tools: autotest: increase Plane log download timeout
6 years ago
Pierre Kancir
7e12f16be6
Tools: fix lambda test
6 years ago
Peter Barker
c0394e9577
Tools: autotest: tidy handling of SITL start position
6 years ago
Peter Barker
effeebfeb8
Tools: autotest: skip failing RC test until code is fixed
6 years ago
Peter Barker
e3368e193d
Tools: autotest: add test for throttle failsafe
6 years ago
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
6 years ago
Peter Barker
6f1f98dc3c
Tools: autotest: add assumption run_tests is only called once - remove hasInit
6 years ago
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
6 years ago
Peter Barker
fa37ad344b
Tools: autotest: refactor setting of rc defaults
6 years ago
Peter Barker
55f751a8f4
Tools: autotest: add some tests for Copter parachute functions
6 years ago
Peter Barker
622549456c
Tools: autotest: convert plane over to new tests structure
6 years ago
Peter Barker
a320a54f66
Tools: autotest: new wait_heartbeat raises exception if none received
6 years ago
Peter Barker
dd88e6e85c
Tools: autotest: correct wait_servo_channel_value error path
...
Also make flaps test a little more verbose
6 years ago
Peter Barker
88a003edd9
Tools: autotest: flake8 compliance
6 years ago
Peter Barker
f84370bb04
Tools: autotest: consolidate mission-loading functions
...
Also add sanity checks for mission loading
Tools: autotest: add missing import for arduplane.py
6 years ago
Andrew Tridgell
6b5088207b
autotest: upload failed CI logs to autotest server
6 years ago
Peter Barker
dc6a03f5e0
Plane: mission library handles gripper
6 years ago
Peter Barker
2157999307
Tools: autotest: add tests for gripper mission items
6 years ago
Peter Barker
a66cc52573
Tools: autotest: provide description of exceptions in constructors
6 years ago
Peter Barker
40ac2e493d
Tools: add a test for Plane's SET_ATTITUDE_TARGET support
6 years ago
Peter Barker
a7042e3847
Tools: autotest: tweak output messages, loosen camera trigger timeout
7 years ago
Peter Barker
6e44ea13d4
Tools: autotest: do not arm vehicle before flaps test
7 years ago
Peter Barker
56646651c6
Tools: autotest: add test for RCn_OPTION - camera trigger
7 years ago
Peter Barker
f47823f4e4
Tools: autotest: add test for RCn_OPTION - toggling relays
7 years ago
Pierre Kancir
f6cc934678
Tools: pep8 corrections + correct variable shadowing
7 years ago
Pierre Kancir
cc8aca1619
Tools: various fixes for Copter tests
...
Tools: correct altitude check
Tools: correct tests syntax
Tools: add autotest syntax check on common
Tools: search for syntax mistake on autotest lambda
Tools: put copter in hover trottle to prevent crash
Tools: reboot after baterry failsafe test
Tools: copter takeoff wait_ready_to_arm before arming
Tools: arm copter after land on RTL
Tools: reset copter battery voltage after battery failsafe
7 years ago
Peter Barker
2a174a5dac
Tools: add test for Sprayer-on-Rover
7 years ago
Pierre Kancir
2f9f793ccf
Tools: add arm and disarm tests
7 years ago
Peter Barker
8e3b69bca0
Tools: autotest: add flaps test
7 years ago
Pierre Kancir
a8ea84a729
Tools: autotest: clean function arguments
7 years ago
Peter Barker
af37e10126
Tools: autotest: factor out starting of our our mavlink connection
7 years ago
Pierre Kancir
a930822d9d
Tools: unify exception on os.link
7 years ago
Michael du Breuil
90216f7cb6
Tools: Slow rover test down for CI, remove unneeded variable
7 years ago
Peter Barker
6dd8dbeb40
Tools: autotest: add ability to add breakpoints in autotest
7 years ago
Peter Barker
513865ae4d
Tools: autotest: flake8 compliance
7 years ago
Karthik Desai
40cd0cd17f
Tools: autotest: Use the generic run_test.
...
If any of the tests throws an exception, it will be caught by the generic test function
that collects all errors and displays them before passing the result to the vehicle testcode.
Hence the name of the test and the exception that got raised get printed in a single
location. This nicely reduces code duplication.
7 years ago
Karthik Desai
9de1813ae6
Autotest: Fix a race condition on the regression tests on Windows
7 years ago
Peter Barker
fe3b882bea
Tools: autotest: move close method up to common.py
7 years ago