Peter Barker
e78eec3292
Tools: autotest: account for Rover blowing past home in DriveRTL
6 years ago
Peter Barker
f2e3d377ad
Tools: autotest: drain mav during RTL test to improve reliability
6 years ago
Peter Barker
6103d5ebac
Tools: autotest: add a simple dataflash-over-mavlink test
6 years ago
Peter Barker
50687c9add
Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests
6 years ago
Pierre Kancir
7e12f16be6
Tools: fix lambda test
6 years ago
Peter Barker
a117e4571d
Tools: autotest: add simple Rally test
6 years ago
Peter Barker
c0394e9577
Tools: autotest: tidy handling of SITL start position
6 years ago
Peter Barker
07c07928ee
Tools: autotest: adjust Rover mission-toggling mission for magic-home
6 years ago
Peter Barker
957f637043
Tools: autotest: add autotest for setting home position with command-int
6 years ago
Peter Barker
1347083548
Tools: autotest: add tests for Rover gripper support
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
584013de58
Tools: autotest: correct debug for precision
6 years ago
Peter Barker
657e1bee5a
Tools: autotest: use absolute path for rover avoidance fence
...
This stops us making the assumption MAVProxy's cwd is the ArduPilot git
root
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
7aa1d51585
Tools: autotest: move balancebot to new tests structure
6 years ago
cclauss
89be497897
Tools: Undefined name: 'AutoTestTimeoutException'
...
[flake8](http://flake8.pycqa.org ) testing of https://github.com/ArduPilot/ardupilot on Python 3.7.1
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Tools/autotest/apmrover2.py:688:27: F821 undefined name 'AutoTestTimeoutException'
raise AutoTestTimeoutException("Did not reach speed")
^
./Tools/autotest/apmrover2.py:717:27: F821 undefined name 'AutoTestTimeoutException'
raise AutoTestTimeoutException("Did not stop")
^
2 F821 undefined name 'AutoTestTimeoutException'
2
```
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
9eae7857dd
Tools: autotest: make Rover use new tests framework
6 years ago
Peter Barker
10c27e07d4
Tools: autotest: make aux switch test more reliable
6 years ago
Peter Barker
31d6daa1ae
Tools: auotest: add test to ensure components are accepted if SYSID_ENFORCE
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
984ce514a7
Tools: autotest: make Rover tests stand-alone
6 years ago
Peter Barker
0d34052cef
Tools: autotest: move code up
6 years ago
Peter Barker
aff81d6f76
Tools: autotest: add test for SET_MESSAGE_INTERVAL
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
f290a72d9c
Tools: autotest: add test for camera trigger distance
6 years ago
Peter Barker
bb5aa4d195
Tools: add test for proximity avoidance switch
6 years ago
Peter Barker
a66cc52573
Tools: autotest: provide description of exceptions in constructors
6 years ago
Pierre Kancir
55f4be0515
Tools: make do_set_mode function more generic
6 years ago
Peter Barker
af510801f1
Tools: autotest: use RC_CHANNELS rather than RC_CHANNELS_RAW
6 years ago
Peter Barker
6e44ea13d4
Tools: autotest: do not arm vehicle before flaps test
7 years ago
Pierre Kancir
d8c53bbd9c
Tools: remove dependency on mavproxy for cmd_long based functions
7 years ago
Peter Barker
5d317a8ef7
Tools: autotest: clear Rover waypoints before toggling them in
7 years ago
Peter Barker
197edca772
Tools: expand test to cover use of disable-gcs-rc-overrides switch
7 years ago
Peter Barker
5c7e21d38f
Tools: autotest: add test for clearing waypoints
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
Peter Barker
0f7c837d2d
Tools: autotest: increase timeout for RTL test
...
BalanceBot is slow!
7 years ago
Peter Barker
4c89fa4b75
Tools: autotest: add tests for changing modes via MAVProxy mode command
7 years ago
Pierre Kancir
2f9f793ccf
Tools: add arm and disarm tests
7 years ago
Peter Barker
af37e10126
Tools: autotest: factor out starting of our our mavlink connection
7 years ago
Peter Barker
dab93750a0
Tools: add test for rc overrides
7 years ago