Peter Barker
4d0ae8c371
Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED
2019-02-26 14:09:21 +11:00
Peter Barker
6fc4086726
Tools: autotest: accept home position before or after ack
...
autopilot may be out of space or time to send home position packet after
we have requested it
2019-02-26 14:01:41 +11:00
Peter Barker
31a9ac7dbd
Tools: autotest: add test suite for Tracker
2019-02-26 08:03:56 +11:00
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
2019-02-22 16:30:05 +11:00
Francisco Ferreira
b2523021fb
Tools: autotest: increase Plane log download timeout
2019-02-22 08:27:08 +11:00
Francisco Ferreira
08fdd5c36c
Tools: autotest: strip newline chars for comparing mission files
...
Windows is different from other OSes so remove the newline characters before comparing lines when making sure mission files are the same
2019-02-22 08:27:08 +11:00
Pierre Kancir
7e12f16be6
Tools: fix lambda test
2019-02-22 08:04:03 +11:00
Peter Barker
a117e4571d
Tools: autotest: add simple Rally test
2019-02-20 18:03:38 +11:00
Peter Barker
90ea847cad
Tools: sim_vehicle.py: use gps functions from pymavlink rather than MAVProxy
...
This should solve a problem on Windows where MAVProxy's libraries may
not be generally available (packed into a .exe)
2019-02-20 14:54:10 +11:00
Peter Barker
9b73c5f1d9
Tools: autotest: correct log download name for Sub
2019-02-20 12:01:43 +11:00
Peter Barker
624f196fb3
Tools: autotest: increase timeout to 3600 seconds
...
Right on the edge on my laptop at 3000
2019-02-19 14:09:59 +11:00
Peter Barker
27d6bebed3
Tools: autotest: add test that ArduPilot indicates it can do PARAM_FLOAT
2019-02-19 13:14:52 +11:00
Peter Barker
c0394e9577
Tools: autotest: tidy handling of SITL start position
2019-02-16 19:14:48 +11:00
Peter Barker
07c07928ee
Tools: autotest: adjust Rover mission-toggling mission for magic-home
2019-02-16 11:23:00 +09:00
Peter Barker
025f007f96
Tools: autotest: simplify mission loading
2019-02-16 10:27:41 +11:00
Peter Barker
effeebfeb8
Tools: autotest: skip failing RC test until code is fixed
2019-02-14 11:49:59 +11:00
Peter Barker
e3368e193d
Tools: autotest: add test for throttle failsafe
2019-02-14 11:49:59 +11:00
Mark Whitehorn
fd385c0f91
Tools: autotest: add quadplane output_motor_mask check
...
add comparator arg to wait_servo_channel_value and cleanup
2019-02-13 15:28:47 +11:00
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
2019-02-13 09:25:27 +09:00
Peter Barker
6d914f8af3
Tools: autotest: add test for moving sub in guided mode
2019-02-13 10:06:49 +11:00
Peter Barker
957f637043
Tools: autotest: add autotest for setting home position with command-int
2019-02-13 09:42:26 +11:00
Willian Galvani
963905f812
Autotest: Add badge to index.html
2019-02-13 09:28:19 +11:00
Peter Barker
cf2c0ec334
Tools: autotest: print time taken for each test
2019-02-12 13:30:28 +11:00
Peter Barker
be3428de65
Tools: autotest: use absolute path to defaults file for QuadPlane
2019-02-10 17:41:00 +11:00
Mark Whitehorn
74c114e455
Tools: autotest: use frame and VehicleInfo in AutoTestQuadPlane
2019-02-10 17:37:50 +11:00
Peter Barker
edfa2646f0
Tools: autotest: repeatedly apply parameter file
2019-02-09 18:17:00 +11:00
Peter Barker
f3cbf72f41
Tools: autotest: all autotest classes now take a frame
2019-02-09 14:55:11 +11:00
Andrew Tridgell
77e4e5a1c9
autotest: added defaults for compass3 offsets
2019-02-09 13:04:52 +11:00
Peter Barker
1347083548
Tools: autotest: add tests for Rover gripper support
2019-02-09 11:02:22 +09:00
Peter Barker
6f1f98dc3c
Tools: autotest: add assumption run_tests is only called once - remove hasInit
2019-02-09 11:31:17 +11:00
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
2019-02-09 10:04:57 +11:00
Peter Barker
fe2f9f1f14
Tools: autotest: improve autotest output
2019-02-07 08:51:13 +11:00
Peter Barker
584013de58
Tools: autotest: correct debug for precision
2019-02-07 08:50:08 +11:00
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