Commit Graph

4241 Commits

Author SHA1 Message Date
Peter Barker
9aa5cedd2a Tools: autotest: increase timeout on mission_item_int
We may spend so much time parsing messages this deadline passes
2019-08-07 12:29:14 +10:00
Peter Barker
472d98dcb7 Tools: autotest: wait longer for mission acks
Nothing is adjusting the streamrates on our second mavlink port, meaning
we have to get through a lot of traffic before getting acks.
2019-08-07 12:28:57 +10:00
Peter Barker
cfd7e05257 Tools: build_binaries.py: correct comment on common_boards call 2019-08-07 11:54:04 +10:00
Peter Barker
066a382a3d Tools: build_binaries.py: add omnibusf4 to build target list 2019-08-07 11:54:04 +10:00
Peter Barker
05a48928f8 Tools: autotest: assume Tracker has AP_Stats 2019-08-07 07:57:46 +09:00
Peter Barker
d68e8f4cfb Tools: autotest: wait for any message on link before requesting mission count 2019-08-07 08:39:53 +10:00
Peter Barker
f896af6800 Tools: autotest: increase timeout waiting for MISSION_COUNT 2019-08-06 18:15:26 +10:00
Peter Barker
acf6cb8d75 Tools: autotest: rename clear_mission to clear_mission_using_mavproxy 2019-08-06 17:05:57 +10:00
Peter Barker
bca35ac469 Tools: autotest: stop trying to arm Heli in throw mode 2019-08-06 17:05:41 +10:00
Peter Barker
6896b7b302 Tools: autotest: improve tests of MISSON_ITEM compatability layer
Tools: autotest: test returned MISSION_ITEM has correct mission_type

Tools: autotest: correct spelling on mission

Tools: autotest: add sanity check for sequence number on returned items

Tools: autotest: add test that we MISSION_ACK for bad MISSION_ITEM seq

Tools: autotest: improve debug on MISSION_COUNT assertion

Tools: autotest: validate returned mission type
2019-08-06 13:58:44 +10:00
Peter Barker
16503f7f25 Tools: autotest: add test for Plane reposition 2019-08-06 12:52:09 +10:00
Andrew Tridgell
7fbe7de984 Tools: updated omnibus bootloaders 2019-08-06 11:22:52 +10:00
Peter Barker
0dfb1e858c Tools: autotest: remove ineffective sub parameter
This would be SIM_BARO_RND.

Adding randomness by default may make autotests non-repeatable.
2019-08-06 09:39:24 +10:00
Pierre Kancir
bb13a75e30 Tools: check for feenableexcept on WAF 2019-08-06 09:37:30 +10:00
Peter Barker
cc742dbfc4 waf: make unused variables an error on C as well as C++ source files 2019-08-05 18:31:58 +10:00
Peter Barker
0805547ba6 Tools: autotest: break out roundtrip_fencepoint_protocol method 2019-08-05 18:31:27 +10:00
Peter Barker
44ccbcf78a Tools: autotest: rename send_clear_mission to clear_mission 2019-08-05 16:49:58 +10:00
Peter Barker
12b9928a56 Tools: autotest: break out a load_fence function 2019-08-05 16:37:08 +10:00
Andrew Tridgell
cee7cce1ca autotest: update vision position test for new msg 2019-08-05 13:58:08 +10:00
Andrew Tridgell
562f4ed1a3 Tools: added Vicon mavlink gateway script 2019-08-03 11:29:42 +10:00
Peter Barker
a3b5ed442c waf: add -Werror=ignored-qualifiers
Sub recently got a patch which introduced a bunch of these warnings
2019-08-02 08:23:57 +10:00
Peter Barker
428b790771 Tools: autotest: correct rally point upload tests 2019-08-01 17:44:37 +10:00
Andrew Tridgell
86c05aba8f Tools: added Durandal bootloader 2019-08-01 14:11:06 +10:00
Andrew Tridgell
e708446f4d Tools: rename Pixhawk6 to Durandal 2019-08-01 14:11:06 +10:00
Peter Barker
be20f458bf Tools: sim_vehicle.py: sort vehicle type in help 2019-07-30 14:05:12 +10:00
Leonard Hall
fb790cadda Tools: update parameter files after PID upgrade 2019-07-25 17:38:15 +09:00
bugobliterator
d921285b9d Tools: update iofirmware 2019-07-25 17:05:41 +10:00
bugobliterator
6469174a84 Tools: move to using separate firmwares for heater polarity values 2019-07-25 17:05:41 +10:00
Peter Barker
47e1733bc5 Tools: autotest: correct RC2_REV to RC2_REVERSED in comment 2019-07-24 13:36:26 +09:00
Peter Barker
1fbd41e6f3 Tools: autotest: add test for Rover SmartRTL 2019-07-23 19:00:38 +10:00
Peter Barker
6fc22cd5a3 Tools: autotest: make rangefinder test more reliable 2019-07-23 17:08:02 +10:00
Michael du Breuil
fbc719c113 Tools: Run parameter emitters 2019-07-23 09:29:48 +10:00
Michael du Breuil
bd8d63dd3f Tools: Add edn_format to CI 2019-07-23 09:29:48 +10:00
Peter Barker
ecb8a2ee24 Tools: move openocd to use stlink-v2 2019-07-20 14:43:27 +10:00
Amilcar Lucas
80bf2d6192 Tools: FilterTestTool - add missing information 2019-07-19 09:21:15 +09:00
Peter Barker
392a174e2e Tools: scripts: dumpstack: do not run any gdbinit scripts
Often these scripts look for hardware dongles that may not exist
2019-07-17 14:04:41 +10:00
Rajat Singhal
ffdf520a01 autotest: enable airsim SITL backend 2019-07-17 07:26:50 +10:00
Pierre Kancir
1f9adf1f3b Tools: remove log module from default autotest modules 2019-07-16 18:58:54 +10:00
Pierre Kancir
666e7b88d7 Tools: common: dynamicly load and unload log module as needed 2019-07-16 18:58:54 +10:00
Pierre Kancir
b655197c95 Tools: common: unload dataflash_logger module after use 2019-07-16 18:58:54 +10:00
Pierre Kancir
21fe1e54e5 Tools: unload relay module from autotest defaults 2019-07-16 18:58:54 +10:00
Pierre Kancir
32f5d80689 Tools: rover: use do_set_relay 2019-07-16 18:58:54 +10:00
Pierre Kancir
98d897e790 Tools: common: implement do_set_relay and do_set_relay_mavproxy 2019-07-16 18:58:54 +10:00
Peter Barker
0952ca0abc waf: remove NuttX-based IO firmware blob 2019-07-16 10:29:05 +10:00
Peter Barker
c502ac4ce9 Tools: IO_Firmware: remove NuttX-based IO firmware blob 2019-07-16 10:29:05 +10:00
Peter Barker
c4311b4af6 Tools: waf: add -Werror=delete-non-virtual-dtor 2019-07-16 10:28:30 +10:00
Peter Barker
b208b76884 Tools: autotest: add trivial test for receiving COLLISION message 2019-07-16 09:52:54 +10:00
Peter Barker
070e9e56b3 Tools: rangefinder no longer takes SerialManager in constructor 2019-07-16 09:29:48 +10:00
Pierre Kancir
9d20a13cd4 Tools: reduce mavproxy memory usage on autotest 2019-07-14 15:52:47 +10:00
Andrew Tridgell
585631a22d Tools: added MatekF765-Wing bootloader 2019-07-13 15:23:45 +10:00
Andrew Tridgell
05b55945fc Tools: auto-build F765-Wing 2019-07-13 15:23:45 +10:00
Siddharth Purohit
eabb93f842 AP_Bootloader: change to using serusbcfg1 2019-07-12 17:01:21 +10:00
Peter Barker
bd50f288a1 Tools: autotest: get mavproxy to heartbeat at speedup rate
This should resolve a race condition we have with guided position modes.

MAVProxy's heartbeat rate defaults to 1Hz.

When GCS failsafe is active on Copter because we're in GUIDED (or
GUIDED_NOGPS mode) we require a heartbeat every 5 seconds.  At speedup
8, we can only expect a heartbeat every 8 seconds of sim time.

We also only check for this heartbeat every 3 seconds - leading to this
awesome race condition.
2019-07-12 12:48:05 +10:00
Peter Barker
87e43d6e44 Tools: autotest: add option to disable breakpoints at sim startup 2019-07-12 12:48:05 +10:00
Andrew Tridgell
5987131958 Tools: update IO firmware for heater dither 2019-07-12 12:46:27 +10:00
Tatsuya Yamaguchi
4321a987f2 Tools: fix the help message 2019-07-11 15:56:49 +09:00
Tatsuya Yamaguchi
ba1903708b Tool: fix the switch-to-uart function in TFMiniPlus script 2019-07-11 15:56:49 +09:00
Pierre Kancir
12cb09a3f4 Tools: factorize sitl rangefinder setup 2019-07-11 11:52:44 +10:00
Pierre Kancir
daaf769055 Tools: add arm/disarm testing on all modes 2019-07-11 11:42:45 +10:00
Pierre Kancir
9850d1afec Tools: update with flake8
W605 invalid escape sequence '\s'
F402 import 'time' from line 10 shadowed by loop variable
E101 indentation contains mixed spaces and tabs
E703 statement ends with a semicolon
2019-07-09 12:46:39 +10:00
Peter Barker
899db3d3ac Tools: autotest: add test for sensor config error loop
Tools: autotest: exempt failing vehicles from SensorConfigError test
2019-07-09 10:01:23 +10:00
Peter Barker
7b933ffd8a Tools: autotest: add test for mission_item download
Ensures that target_system and target_component are appropriately set in
return packet
2019-07-09 09:25:06 +10:00
Peter Barker
e6b1fa507d Tools: autotest: rename get_mission_item_on_link to get_mission_item_int_on_link 2019-07-09 09:25:06 +10:00
Andrew Tridgell
97d0298295 Tools: added mRoControlZeroF7 bootloader 2019-07-09 06:31:46 +10:00
Peter Barker
001f276043 Tools: autotest: re-enable QAUTOTUNE test 2019-07-08 20:38:31 +10:00
Peter Barker
5b5f582307 Tools: autotest: present stack traces on exceptions 2019-07-08 16:51:25 +10:00
Peter Barker
6332d2e729 Tools: autotest: fix race condition with getting parameters 2019-07-08 16:51:25 +10:00
Siddharth Purohit
8de169b1ce waf: remove redundant src includes for libuavcan drivers 2019-07-08 12:18:29 +10:00
Peter Barker
306783211b Tools: waf: understand DISABLE_SCRIPTING from the board configuration 2019-07-08 09:55:46 +10:00
Andrew Tridgell
7441dcddfa Tools: updated IO firmware for IBUS support 2019-07-07 20:49:18 +10:00
Peter Barker
bb677756a0 Tools: Replay: EKF logging moved to AHRS from logger 2019-07-06 19:05:51 +10:00
Andrew Tridgell
ea212af2e5 Tools: added an example gpio.sh for the disco
trigger camera actions
2019-07-06 09:02:54 +10:00
SergeyBokhantsev
c9447776b2 Tools: autotest: correct debounce tests under Rover
Channel 8 is the mode channel under Rover
2019-07-04 11:35:05 +10:00
Peter Barker
fbb26ff52d Tools: uploader.py: py3 fix 2019-07-03 15:42:28 +10:00
Andrew Tridgell
5c5ae78dfb autotest: added plane-jet parameters 2019-07-03 08:05:09 +10:00
Peter Barker
e36231d547 Tools: autotest: loosen distance check when looking for lower point 2019-07-01 20:08:35 +10:00
Andrew Tridgell
4b8972433a Tools: fixed handling of bitmask in param metdata
this prevents ARMING_CHECK from getting invalid values for the bitmask
2019-07-01 19:22:03 +10:00
Peter Barker
89ef13d32e Tools: autotest: reference issue in disabled beacon test 2019-07-01 12:12:43 +10:00
Peter Barker
5b14be92e6 Tools: autotest: change beacon test to use EKF3 2019-07-01 07:20:58 +09:00
Peter Barker
b22fccd35d Tools: autotest: add test for beacon navigation 2019-07-01 07:20:58 +09:00
Peter Barker
6442dd1f2f Tools: autotest: make vision position test more reliable 2019-06-29 10:49:20 +10:00
Peter Barker
3c6b08e67f Tools: generate_manifest: correct detection of linux filetypes 2019-06-27 14:41:28 +10:00
DonLakeFlyer
b34b276844 Fix tab usage 2019-06-27 07:52:35 +10:00
DonLakeFlyer
e7104fb6f0 Fix heli manifest generatio 2019-06-27 07:52:35 +10:00
Peter Barker
dc75f382b8 Tools: autotest: loosen check for wait_circling_point_with_radius
Also add a timeout
2019-06-25 19:59:14 +10:00
Peter Barker
98f30fe099 Tools: script: uploader.py: add --identify option
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
2019-06-25 13:40:27 +10:00
Peter Barker
4b455afd42 scripts: uploader.py: print unplug hint when downloading firmware 2019-06-25 13:40:27 +10:00
Peter Barker
e4761e1ee4 Tools: autotest: avoid draining button change message we want 2019-06-24 10:04:39 +10:00
Peter Barker
0a2ee0f04c Tools: autotest: unshadow clear_mission method 2019-06-24 10:04:24 +10:00
Matt
ad2d7dac3e Re-enable watchdog on Solo build targets 2019-06-23 09:00:32 +10:00
Peter Barker
1827d88f9a Tools: autotest: use set_parameter for setting glitch offsets
This state was persistent across tests, which wasn't helping for
consistency.
2019-06-21 13:50:55 +10:00
Peter Barker
98cb68157f Tools: autotest: add a test for Copter surface tracking 2019-06-21 13:50:55 +10:00
Peter Barker
5992cc8782 Tools: autotest: clear mission between tests 2019-06-20 11:51:13 +10:00
Michael du Breuil
93d8f32c8f Tools: Support CubeOrange bootloader in CI 2019-06-19 11:26:44 +10:00
Michael du Breuil
4893b85983 Tools: bootloaders should not include scripting 2019-06-19 11:26:44 +10:00
Guglielmo
8f88639d38 Tools: add IMU filter test tool 2019-06-19 09:14:30 +10:00
Michael du Breuil
8c7946a9d8 Tools: Remove unneeded sitltest-scripting, it's now the default 2019-06-18 00:06:32 -07:00
Michael du Breuil
0e76afd22c Tools: Support enabling scripting by default 2019-06-18 00:06:32 -07:00
Peter Barker
4f7905331a waf: add build option to include dates in binary 2019-06-18 10:54:01 +10:00
Peter Barker
fec3dc4f70 Tools: autotest: add tests for Plane AuxSwitch mode changes 2019-06-18 10:48:47 +10:00