Peter Barker
429217f392
Tools: autotest: correct division-by-zero error
2019-01-17 12:30:56 +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
55f751a8f4
Tools: autotest: add some tests for Copter parachute functions
2019-01-09 13:16:03 +11:00
Peter Barker
fe1ac46840
Tools: autotest: correct log Tee'ing
2019-01-04 13:41:36 +11:00
Peter Barker
7cb1051aee
Tools: autotest: correct error message for mission upload/download
2019-01-02 20:33:17 +11:00
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.
2018-12-27 15:15:59 +11:00
Peter Barker
320ea4d7f5
Tools: autotest: remove old run_test function
2018-12-21 11:53:38 +11:00
Peter Barker
3b57635ec9
Tools: autotest: convert Copter to new tests framework
2018-12-18 10:06:09 +11:00
Peter Barker
22cc55a500
Tools: autotest: give message rate in drain
2018-12-18 10:06:09 +11:00
Peter Barker
7ad299c526
Tools: autotest: clarify arming tests messages
2018-12-18 10:06:09 +11:00
Peter Barker
7aa1d51585
Tools: autotest: move balancebot to new tests structure
2018-12-18 10:06:09 +11:00
Peter Barker
1f8db08dab
Tools: autotest: show test output filename in summary
2018-12-15 21:39:29 +11:00
Peter Barker
28b0267b6c
Tools: autotest: add timeout on Rover test_rc_overrides
2018-12-15 21:38:48 +11:00
Peter Barker
686bfc367e
Tools: autotest: tee MAVProxy output to per-test file
2018-12-15 17:11:44 +11:00
Peter Barker
8528bcf78c
Tools: autotest: tee individual test output to separate files
2018-12-15 10:02:11 +11:00
Peter Barker
8541a28637
Tools: autotest: support named tests
2018-12-15 10:02:11 +11:00
Peter Barker
dd78a5a921
Tools: autotest: use wallclock time for reboot
2018-12-14 16:57:29 +11:00
Peter Barker
da1f04e78c
Tools: autotest: add a test for SYSID_ENFORCE
2018-12-14 12:44:31 +11:00
Peter Barker
e6c30f6405
Tools: autotest: use change_mode in apmrover2 for changing modes
2018-12-14 11:10:41 +11:00
Peter Barker
a320a54f66
Tools: autotest: new wait_heartbeat raises exception if none received
2018-12-14 11:10:41 +11:00
Peter Barker
ec288cd867
Tools: autotest: make reboot detection more reliable
2018-12-14 09:48:17 +11:00
Peter Barker
0d34052cef
Tools: autotest: move code up
2018-12-10 12:52:41 +09:00
Peter Barker
dd88e6e85c
Tools: autotest: correct wait_servo_channel_value error path
...
Also make flaps test a little more verbose
2018-11-29 09:48:31 +11:00
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
2018-11-26 17:35:07 +11:00
Peter Barker
88a003edd9
Tools: autotest: flake8 compliance
2018-11-24 08:30:02 +11:00
Peter Barker
f84370bb04
Tools: autotest: consolidate mission-loading functions
...
Also add sanity checks for mission loading
Tools: autotest: add missing import for arduplane.py
2018-11-16 10:06:25 +11:00
Peter Barker
1d2f8555c0
Tools: ardupilotwaf: adjust for new location of uploader.py
2018-11-15 09:55:14 +11:00
Andrew Tridgell
6b5088207b
autotest: upload failed CI logs to autotest server
2018-11-10 21:23:02 +11:00
Peter Barker
7600d3205a
Tools: correct race condition in interlock check
2018-11-04 21:38:15 +11:00
Peter Barker
4e82250055
Tools: autotest: add test for Copter loiter-to-alt
2018-10-30 17:50:46 +09:00
Peter Barker
a01c915173
Tools: autotest: improve debug in arm-with-radio
2018-10-30 15:37:18 +11:00
Peter Barker
2157999307
Tools: autotest: add tests for gripper mission items
2018-10-30 15:37:18 +11:00
Peter Barker
8985cc05c7
Tools: autotest: raise exception on get_parameter failure
2018-10-23 14:49:44 +11:00
Peter Barker
b8e1d26708
Tools: autotest: reduce dummy streamrate
...
Given we have trouble with the amount of data flowing around, doubling
this seems somewhat unfortunate.
2018-10-23 10:35:21 +11:00
Willian Galvani
bf1429ead7
Tools: Autotest: Fix ArduSub autotest
2018-10-21 09:01:14 +11:00
Peter Barker
e9d6c47f76
Tools: autotest: correct lamda->lambda
2018-10-19 08:54:56 +11:00
Peter Barker
a66cc52573
Tools: autotest: provide description of exceptions in constructors
2018-10-19 08:52:44 +11:00
Peter Barker
14d2012f54
Tools: autotest: add test for ekf navigation speed limits
2018-10-09 10:47:38 +11:00
Pierre Kancir
53e36931fb
Tools: correct channel configuration for gripper test
2018-10-03 20:10:13 +10:00
Pierre Kancir
e087b03dd0
Tools: disable autodisarm test (broken)
2018-10-03 10:11:13 +02:00
Pierre Kancir
15e291aac9
Tools: don't set zero_throttle on arm/disarm
2018-10-03 10:10:25 +02:00
Pierre Kancir
0785706a94
Tools: test that heli interlock output cannot be high when disarmed
...
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir
752f78c80e
Tools: test ARMING_RUDDER restrictions
...
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir
31d4f1b065
Tools: test that copter cannot arm with throttle too high
...
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir
553874f14a
Tools: add arm/disarm with switch tests
...
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:28 +02:00
Pierre Kancir
d37a74f46a
Tools: fix arm_motors_with_rc_input and disarm_motors_with_rc_input
2018-10-03 17:24:52 +10:00
Pierre Kancir
9b7e406a55
Tools: fix use of unassign variable
2018-10-03 17:19:38 +10:00
Pierre Kancir
55f4be0515
Tools: make do_set_mode function more generic
2018-10-03 16:57:01 +10:00
Pierre Kancir
b80937cbd4
Tools: add timout to arm/disarm functions
2018-10-03 16:57:01 +10:00
Peter Barker
a7042e3847
Tools: autotest: tweak output messages, loosen camera trigger timeout
2018-09-08 12:56:15 +10:00