Commit Graph

3796 Commits

Author SHA1 Message Date
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
Andrew Tridgell
6a4da68c4f Tools: auto-build TBS-Colibri-F7 board 2019-02-22 10:28:53 +11:00
Andrew Tridgell
f23ff1c8e9 Tools: updated TBS-F7 bootloader 2019-02-22 10:27:17 +11:00
Andrew Tridgell
fc5ebbf52e Tools: bootloader for TBS-Colibri-F7 2019-02-22 10:27:17 +11:00
Francisco Ferreira
03ed67a996 waf: add option to override toolchain 2019-02-22 08:27:08 +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
Francisco Ferreira
ba2f954a20 waf: add AC_AttitudeControl library for PE target format 2019-02-22 08:27:08 +11:00
Pierre Kancir
7e12f16be6 Tools: fix lambda test 2019-02-22 08:04:03 +11:00
Pierre Kancir
910de89b4e Tools: add DEVTYPE_RM3100 to decode_devid.py 2019-02-20 22:06:31 +11:00
Peter Barker
6137704032 Tools: ardupilotwaf: add -Werror=inconsistent-missing-override for clang 2019-02-20 19:23:54 +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
MohamedAliRashad
ddab9455e8 Tools: install-prereqs: do not use sudo to install Python packages 2019-02-19 13:29:03 +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
Andrew Tridgell
79481028b4 Tools: updated bootloader docs 2019-02-16 14:23:16 +11:00
Andrew Tridgell
ff90ee3eab Tools: added info on bm paths 2019-02-16 13:43:23 +11:00
Andrew Tridgell
23280f3de2 Tools: more info on debugging 2019-02-16 13:41:47 +11:00
Peter Barker
07c07928ee Tools: autotest: adjust Rover mission-toggling mission for magic-home 2019-02-16 11:23:00 +09:00
Andrew Tridgell
e393828702 Tools: added files useful for hardware debugging 2019-02-16 13:19:19 +11:00
Peter Barker
025f007f96 Tools: autotest: simplify mission loading 2019-02-16 10:27:41 +11:00
Peter Barker
bf9b8f41bf Tools: Replay: cope with WARN_IF_UNUSED on AP_AHRS::set_home 2019-02-15 08:28:45 +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
e23809fd59 Tools: ardupilotwaf: include AP_Parachute in all builds 2019-02-13 09:25:27 +09: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
5828915a02 Tools: scripts: remove build_all_vrbrain.sh 2019-02-13 10:11:29 +11: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