Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
6 years ago
Peter Barker
f3eaf9ee6e
Tools: autotest: more coverage out of the dataflash-over-mavlink tests
6 years ago
Peter Barker
1f25b6e406
Tools: autotest: add test for SITL implementation of Block backend
6 years ago
Ebin
38c9763d48
Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10
6 years ago
Peter Barker
bba019abc2
Tools: autotest: add basic tests for AP_AdvancedFailsafe
6 years ago
Peter Barker
36ba3a6e4c
Tools: autotest: add test for follow mode
6 years ago
Peter Barker
4a35e8ee74
Tools: autotest: skip MIS_TOTAL parameter test on Tracker
...
This is CMD_TOTAL not MIS_TOTAL, and doesn't have facility for flags.
6 years ago
Peter Barker
da2e00dd6f
Tools: autotest: fix race conditions in arm_vehicle and disarm_vehicle
6 years ago
Peter Barker
ba3f95ad20
Tools: autotest: add timeout parameter to detect_and_handle_reboot
6 years ago
Peter Barker
108f37c67c
Tools: autotest: ensure we can set parameters in groups with internal flag set
6 years ago
Peter Barker
cce85cb418
Tools: autotest: add test for inability to set MIS_TOTAL
6 years ago
Peter Barker
a8a5ccf51b
Tools: autotest: test that long fs triggers even if short fs disabled
6 years ago
Peter Barker
b61bfd663f
Tools: autotest: wait for EKF to be happy after returning its GPS
6 years ago
Peter Barker
bf0a947317
Tools: autotest: improve test diagnostics
6 years ago
Peter Barker
4b331419e3
Tools: autotest: improve mission download diagnostics
6 years ago
Peter Barker
9aa5cedd2a
Tools: autotest: increase timeout on mission_item_int
...
We may spend so much time parsing messages this deadline passes
6 years ago
Peter Barker
05a48928f8
Tools: autotest: assume Tracker has AP_Stats
6 years ago
Peter Barker
f896af6800
Tools: autotest: increase timeout waiting for MISSION_COUNT
6 years ago
Peter Barker
acf6cb8d75
Tools: autotest: rename clear_mission to clear_mission_using_mavproxy
6 years ago
Peter Barker
12b9928a56
Tools: autotest: break out a load_fence function
6 years ago
Peter Barker
1fbd41e6f3
Tools: autotest: add test for Rover SmartRTL
6 years ago
Pierre Kancir
666e7b88d7
Tools: common: dynamicly load and unload log module as needed
6 years ago
Pierre Kancir
b655197c95
Tools: common: unload dataflash_logger module after use
6 years ago
Pierre Kancir
98d897e790
Tools: common: implement do_set_relay and do_set_relay_mavproxy
6 years ago
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.
6 years ago
Peter Barker
87e43d6e44
Tools: autotest: add option to disable breakpoints at sim startup
6 years ago
Pierre Kancir
12cb09a3f4
Tools: factorize sitl rangefinder setup
6 years ago
Pierre Kancir
daaf769055
Tools: add arm/disarm testing on all modes
6 years ago
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
6 years ago
Peter Barker
899db3d3ac
Tools: autotest: add test for sensor config error loop
...
Tools: autotest: exempt failing vehicles from SensorConfigError test
6 years ago
Peter Barker
6332d2e729
Tools: autotest: fix race condition with getting parameters
6 years ago
SergeyBokhantsev
c9447776b2
Tools: autotest: correct debounce tests under Rover
...
Channel 8 is the mode channel under Rover
6 years ago
Peter Barker
98cb68157f
Tools: autotest: add a test for Copter surface tracking
6 years ago
Peter Barker
5992cc8782
Tools: autotest: clear mission between tests
6 years ago
Peter Barker
d8278335a1
Tools: autotest: move upload_using_mission_protocol up to common.py
6 years ago
Peter Barker
c8a4af76fe
Tools: autotest: add tests for Plane fence
6 years ago
Peter Barker
6047ef105e
Tools: autotest: correct text MAVProxy-dedupe check in mission load
...
This failed to protect against multiple rapid calls to load_mission
6 years ago
Peter Barker
e9552ec4e1
Tools: autotest: more efficient set_rc_from_map
6 years ago
Peter Barker
3ed55ea3c5
Tools: autotest: add drain_mav_unparsed and use it
6 years ago
Peter Barker
8d90b09829
Tools: autotest: add tests for upload/download rally using mission protocol
...
Tools: autotest: add tests for mission clearing
Tools: autotest: add tests for out-of-range mission counts
Tools: autotest: add test for Plane DO_CHANGE_SPEED
6 years ago
Francisco Ferreira
4f153f06b3
Tools: autotest: increase timeout for arming param check
6 years ago
Francisco Ferreira
e95d603a73
Tools: autotest: parse all heartbeats when looking for mode change
6 years ago
Peter Barker
d76894d883
Tools: autotest: drain mav before getting message rates, improve debug
6 years ago
Peter Barker
a2105e1f81
Tools: autotest: correct statustext sending under Python3
6 years ago
Peter Barker
18391d8a9a
Tools: autotest: produce stacktraces under Python3
6 years ago
Peter Barker
4a237af093
Tools: autotest: ensure reboot if dataflash-over-mavlink test fails
...
Will stop cascading failures from occuring
6 years ago
Peter Barker
0cd5d66e3a
Tools: autotest: increase epsilon
...
our round-trips etc cost precision
6 years ago
Peter Barker
2cb69366c8
Tools: autotest: facilitate changing mode by number
6 years ago
Peter Barker
5e69758661
Tools: autotest: factor out a start_mavproxy method
6 years ago
Peter Barker
b2acd15a55
Tools: autotest: encode string to bytes before passing to statustext_send
6 years ago