Commit Graph

3817 Commits

Author SHA1 Message Date
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
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 61961d037e Tools: ardupilotwaf: all vehicles get AC_Fence 2019-01-31 13:44:29 +09:00
Peter Barker 9aefaf5b92 Tools: autotest: add tests for GET_MESSAGE_INTERVAL 2019-01-30 13:56:55 +09:00
Matt Lawrence 557a20eaa7 Frame Params: Update solo's default parameters
Update solo's param files.
- Make battery parameters consistent across versions
- Remove unnecessary compass params
- Speed up param stream rate to 30
2019-01-28 08:46:00 +09:00
Patrick José Pereira 57955421b5 Tools: Correct install-prereqs-ubuntu user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira 060f97b8e7 Tools: Correct install-prereqs-mac user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira d37df424ab Tools: Correct install-prereqs-arch user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira 31dbf282cb Tools: Update install-prereqs-ubuntu
Add lsb-core check for lsb_release

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-25 14:37:39 -08:00
LukeMike 2f06484bb4 HAL_ChibiOS: added VRBrain boards into common_boards (build_binaries) 2019-01-24 18:41:38 +11:00
Andrew Tridgell 871a019995 Tools: fixed code style on linux 2019-01-23 16:07:04 +11:00
Siddharth Purohit ba7187e31b Tools: use greadlink for macos systems 2019-01-23 15:57:05 +11:00
Andrew Tridgell 106d4058b4 Tools: removed F4Light bootloader 2019-01-21 21:57:21 +11:00
Andrew Tridgell 0332057cbe autotest: added --flash-storage option 2019-01-21 20:59:00 +11:00
Andrew Tridgell 1f28994bae waf: added --sitl-flash-storage option 2019-01-21 20:59:00 +11:00
mirkix f9d49913d9 ardupilotwaf: enable UAVCAN for bbbmini, blue and pocket 2019-01-21 08:08:59 +11:00
Andrew Tridgell 85ca38b630 waf: fixed git hash in generated APJ file 2019-01-19 17:19:41 +11:00
Peter Barker 6fc18792e4 Tools: autotest: sim_vehicle.py flake8 compliance 2019-01-19 09:33:03 +11:00
Peter Barker 9eea14054e Tools: Replay: fix build 2019-01-18 18:08:20 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 0bf55ce3f4 Tools: ardupilotwaf: DataFlash renamed to AP_Logger 2019-01-18 18:08:20 +11:00
Randy Mackay b3b3385143 Tools: add ToshibaCAN to waf build 2019-01-18 17:30:28 +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
Andrew Tridgell 7eccf82f6d Tools: added VRBrain bootloaders 2019-01-18 11:49:19 +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
Pierre Kancir 3cb543f17c Tools: remove old XPlane plugin 2019-01-18 08:46:42 +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 3a53c5f99c Tools: Replay: update Replay for Location/Location_Class merge 2019-01-16 11:45:29 +11:00
Tom Pittenger 99120cddf9 Frame_params: add SkykWalker X8 param files 2019-01-15 09:47:59 -07:00
Andrew Tridgell bc88d74b2e Tools: updated IO_Firmware 2019-01-15 10:33:15 +11:00
Willian Galvani 8638446c36 Tools: update install-prereqs-arch.sh 2019-01-14 14:25:11 -07: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
Andrew Tridgell 1cf4a9b8d8 waf: fixed ROMFS compression to use zero timestamp
this makes the apj file indepenent of build date, which fixes this
issue:

https://discuss.ardupilot.org/t/arducopter-waf-build-repeatability/37182
2019-01-11 17:45:07 +11:00
Andrew Tridgell 36d908c524 Tools: fixed typo for CubePurple 2019-01-10 21:33:05 +11:00
Siddharth Purohit 719a6507ee Tools: build CubePurple on build server 2019-01-10 16:27:02 +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
JIMWAR 8fe39e8784 AP_Bootloader: fix return the size of flash sector
flash_base_page+num_pages already be more than last sector of flash,
there should be num_pages-flash_base_page when judge the last sector
2019-01-08 20:54:36 +11:00
Peter Barker e93cff6e44 Tools: autotest: add test that rangefinder switch works 2019-01-08 12:39:40 +11:00
murata 6613c678a0 CI: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
Stephen Dade fb53e354c0 Tools: updated STM Tools url for ubuntu/arch install scripts 2019-01-06 18:32:51 +11:00
lordneeko fb212907a1 Tools: Update SV2450 default.parm file for AC-3.6
Update default parameters for Skyviper 2450 GPS battery failsafes, changed in AC-3.6
2019-01-05 09:47:51 +09: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
Michael du Breuil 7b259fb09f ardupilotwaf: Enable heap for scripting builds 2018-12-31 19:25:23 -07:00
Andrew Tridgell d8291ef1d1 waf: fixed static link build
for bebop
2019-01-01 09:34:11 +11:00
Michael du Breuil 2c8b5c651d Tools: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Andrew Tridgell fc2b43313e Tools: fixed error in build_binaries.py 2018-12-28 16:24:18 +11:00
Andrew Tridgell 6e15b16511 Tools: restore px4 builds of stable and beta releases 2018-12-28 16:08:38 +11:00
Andrew Tridgell 9bc9d44c3b Tools: removed px4 builds from build_all.sh 2018-12-28 15:54:36 +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 323fd121e4 Tools: fixed submodule update order for appveyor 2018-12-27 09:44:20 +11:00
Andrew Tridgell d6715290ff Tools: fixed appveyor configure 2018-12-27 08:48:50 +11:00
Peter Barker 65bfe322af Tools: LogAnalyzer: cope with text version of mode in MODE line 2018-12-26 13:12:25 +09:00
Andrew Tridgell cf582cdb12 CI: added appveyor build of SITL for MissionPlanner 2018-12-26 10:32:19 +11:00
Peter Barker 29042c95eb Tools: LogAnalyzer: understand more fields are allowed to have floats in 2018-12-25 00:27:06 +11:00
Andrew Tridgell bac091262f waf: use ctx.fatal for old board error
thanks to @OXINARF
2018-12-22 11:06:59 +11:00
Andrew Tridgell 646c6f4361 waf: point developers at the new build 2018-12-22 11:06:59 +11:00
Andrew Tridgell 15853adb04 build: removed remaining make.inc files 2018-12-22 11:06:59 +11:00
Andrew Tridgell 9596358f3c CI: removed px4 builds 2018-12-22 11:06:59 +11:00
Andrew Tridgell 7c5d82ed15 waf: removed px4 build targets 2018-12-22 11:06:59 +11:00
anshks aa85b281e3 Tools: added name to GIT_Success.txt 2018-12-22 08:29:33 +09:00
Andrew Tridgell aa7221d1bf waf: build AP_RobotisServo 2018-12-22 08:13:14 +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