Commit Graph

1334 Commits

Author SHA1 Message Date
Andrew Tridgell 7bf7d85a12 autotest: support new motor orders 2019-02-06 11:17:35 +11:00
Peter Barker c92795237e Tools: autotest: skip RCProtocolDecoder - assumes hardware is connected 2019-02-06 09:32:10 +11:00
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.
2019-02-06 09:32:10 +11:00
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
2019-02-06 09:32:10 +11:00
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.
2019-02-05 14:14:14 +11:00
Peter Barker 2bd34aaebe Tools: autotest: disable quadplane test as it passes when it shouldn't 2019-02-04 21:18:21 +11:00
Peter Barker d9d9745c11 Tools: autotest: add test for QuadPlane QAutoTune 2019-02-04 21:18:21 +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
Andrew Tridgell 42fda12b45 Tools: added help for -l option to sim_vehicle.py 2019-02-02 14:50:05 +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 9aefaf5b92 Tools: autotest: add tests for GET_MESSAGE_INTERVAL 2019-01-30 13:56:55 +09:00
Andrew Tridgell 0332057cbe autotest: added --flash-storage option 2019-01-21 20:59:00 +11:00
Peter Barker 6fc18792e4 Tools: autotest: sim_vehicle.py flake8 compliance 2019-01-19 09:33:03 +11:00
Andrew Tridgell 2f1f35ef03 autotest: sim_vehicle.py multicasting
Added multicasting support in sim_vehicle.py by using --mcast.
2019-01-18 11:56:48 +11:00
Akshath-Singhal 1a87edd102 Autotest: Create swarminit.txt
Stores shift in meters ENU and absolute heading for SITL instances
2019-01-18 10:16:18 +11:00
Akshath-Singhal ec8cf10f7c Autotest: Shift Spawn locaton SITL
Added support to shift spawn location of vehicle by using --swarm="filepath" where filepath specifies the offset in ENU.
2019-01-18 10:16:18 +11:00
Peter Barker 429217f392 Tools: autotest: correct division-by-zero error 2019-01-17 12:30:56 +11: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
Peter Barker e93cff6e44 Tools: autotest: add test that rangefinder switch works 2019-01-08 12:39:40 +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
Andrew Tridgell 9596358f3c CI: removed px4 builds 2018-12-22 11:06:59 +11:00
Peter Barker 320ea4d7f5 Tools: autotest: remove old run_test function 2018-12-21 11:53:38 +11:00
Andrew Tridgell 6cbbbcd51d autotest: removed check on JSBSim version
now works with latest release
2018-12-18 13:06:03 +11:00
Willem Eerland 6bf40b74b1 Tools: added TugGoat's modifications to the Rascal JSBSim model 2018-12-18 13:06:03 +11:00
Peter Barker 205fc7b55d Tools: autotest: convert QuadPlane to new tests framework 2018-12-18 10:06:09 +11:00
Peter Barker 69293f46f3 Tools: autotest: convert Heli to new tests framework 2018-12-18 10:06:09 +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 622549456c Tools: autotest: convert plane over to new tests structure 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 36ad5d44bd Tools: autotest: convert ArduSub over to new tests framework 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
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
```
2018-12-17 17:53:22 +00: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 fc1e211039 Tools: autotest: fix balancebot tests 2018-12-15 10:02:11 +11:00
Peter Barker 9eae7857dd Tools: autotest: make Rover use new tests framework 2018-12-15 10:02:11 +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 10c27e07d4 Tools: autotest: make aux switch test more reliable 2018-12-15 10:02:11 +11:00