Peter Barker
fe2f9f1f14
Tools: autotest: improve autotest output
6 years ago
Peter Barker
4d2d1350c4
Tools: autotest: make changing mode more reliable
...
There are race conditions between setting mode switches and using
MAVProxy to change mode. This should remove some of the issues.
6 years ago
Peter Barker
d33e5ea012
Tools: autotest: look for mavproxy files in cwd
...
While correct if you run autotest.py from the root of an ArduPilot git
repo, this is generally not correct. The autotest server does not have
such a cwd; it runs it from one-directory-up.
6 years ago
Peter Barker
1fcd7fac06
Tools: autotest: add test for flip mode
6 years ago
Peter Barker
e23313e16b
Tools: autotest: ensure RC input is at defaults before each test
6 years ago
Peter Barker
fa37ad344b
Tools: autotest: refactor setting of rc defaults
6 years ago
Peter Barker
2834fd8017
Tools: autotest: add test for channel override cancel
6 years ago
Peter Barker
9aefaf5b92
Tools: autotest: add tests for GET_MESSAGE_INTERVAL
6 years ago
Peter Barker
429217f392
Tools: autotest: correct division-by-zero error
6 years ago
Peter Barker
d0aaf34db5
Tools: autotest: add option to skip tests if they're annoying us in CI
6 years ago
Peter Barker
55f751a8f4
Tools: autotest: add some tests for Copter parachute functions
6 years ago
Peter Barker
fe1ac46840
Tools: autotest: correct log Tee'ing
6 years ago
Peter Barker
7cb1051aee
Tools: autotest: correct error message for mission upload/download
6 years ago
Peter Barker
e6bfbe5f07
Tools: autotest: fix initial mode switch position race
...
Solves a race condition where an initial setting of mode via mavlink
could be overwritten by the vehicle polling the RC channels and changing
mode based on the new positions.
This will require each vehicle to specify the mode expected without an
RC inputs present and the expected mode once the RC defaults have been
installed. These two modes will need to be different to eliminate the
race condition.
6 years ago
Peter Barker
320ea4d7f5
Tools: autotest: remove old run_test function
6 years ago
Peter Barker
3b57635ec9
Tools: autotest: convert Copter to new tests framework
6 years ago
Peter Barker
22cc55a500
Tools: autotest: give message rate in drain
6 years ago
Peter Barker
7ad299c526
Tools: autotest: clarify arming tests messages
6 years ago
Peter Barker
7aa1d51585
Tools: autotest: move balancebot to new tests structure
6 years ago
Peter Barker
1f8db08dab
Tools: autotest: show test output filename in summary
6 years ago
Peter Barker
28b0267b6c
Tools: autotest: add timeout on Rover test_rc_overrides
6 years ago
Peter Barker
686bfc367e
Tools: autotest: tee MAVProxy output to per-test file
6 years ago
Peter Barker
8528bcf78c
Tools: autotest: tee individual test output to separate files
6 years ago
Peter Barker
8541a28637
Tools: autotest: support named tests
6 years ago
Peter Barker
dd78a5a921
Tools: autotest: use wallclock time for reboot
6 years ago
Peter Barker
da1f04e78c
Tools: autotest: add a test for SYSID_ENFORCE
6 years ago
Peter Barker
e6c30f6405
Tools: autotest: use change_mode in apmrover2 for changing modes
6 years ago
Peter Barker
a320a54f66
Tools: autotest: new wait_heartbeat raises exception if none received
6 years ago
Peter Barker
ec288cd867
Tools: autotest: make reboot detection more reliable
6 years ago
Peter Barker
0d34052cef
Tools: autotest: move code up
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
02993b4ad0
Tools: autotest: delay between transitioning aux switch for arming
...
... on the theory that we debounce these so it's a good idea to give the
RC library a good look at each value
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
Peter Barker
1d2f8555c0
Tools: ardupilotwaf: adjust for new location of uploader.py
6 years ago
Andrew Tridgell
6b5088207b
autotest: upload failed CI logs to autotest server
6 years ago
Peter Barker
7600d3205a
Tools: correct race condition in interlock check
6 years ago
Peter Barker
4e82250055
Tools: autotest: add test for Copter loiter-to-alt
6 years ago
Peter Barker
a01c915173
Tools: autotest: improve debug in arm-with-radio
6 years ago
Peter Barker
2157999307
Tools: autotest: add tests for gripper mission items
6 years ago
Peter Barker
8985cc05c7
Tools: autotest: raise exception on get_parameter failure
6 years ago
Peter Barker
b8e1d26708
Tools: autotest: reduce dummy streamrate
...
Given we have trouble with the amount of data flowing around, doubling
this seems somewhat unfortunate.
6 years ago
Willian Galvani
bf1429ead7
Tools: Autotest: Fix ArduSub autotest
7 years ago
Peter Barker
e9d6c47f76
Tools: autotest: correct lamda->lambda
7 years ago
Peter Barker
a66cc52573
Tools: autotest: provide description of exceptions in constructors
7 years ago
Peter Barker
14d2012f54
Tools: autotest: add test for ekf navigation speed limits
7 years ago
Pierre Kancir
53e36931fb
Tools: correct channel configuration for gripper test
7 years ago
Pierre Kancir
e087b03dd0
Tools: disable autodisarm test (broken)
7 years ago
Pierre Kancir
15e291aac9
Tools: don't set zero_throttle on arm/disarm
7 years ago
Pierre Kancir
0785706a94
Tools: test that heli interlock output cannot be high when disarmed
...
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
7 years ago