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.
2019-09-14 09:26:11 +10:00
Peter Barker
da2e00dd6f
Tools: autotest: fix race conditions in arm_vehicle and disarm_vehicle
2019-09-09 11:06:07 +10:00
Peter Barker
ba3f95ad20
Tools: autotest: add timeout parameter to detect_and_handle_reboot
2019-09-07 17:19:22 +10:00
Peter Barker
108f37c67c
Tools: autotest: ensure we can set parameters in groups with internal flag set
2019-08-30 06:57:30 +10:00
Peter Barker
cce85cb418
Tools: autotest: add test for inability to set MIS_TOTAL
2019-08-22 09:23:56 +10:00
Peter Barker
a8a5ccf51b
Tools: autotest: test that long fs triggers even if short fs disabled
2019-08-15 12:07:30 +10:00
Peter Barker
b61bfd663f
Tools: autotest: wait for EKF to be happy after returning its GPS
2019-08-12 13:12:11 +10:00
Peter Barker
bf0a947317
Tools: autotest: improve test diagnostics
2019-08-08 08:35:52 +10:00
Peter Barker
4b331419e3
Tools: autotest: improve mission download diagnostics
2019-08-07 14:15:47 +10:00
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
05a48928f8
Tools: autotest: assume Tracker has AP_Stats
2019-08-07 07:57:46 +09: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
12b9928a56
Tools: autotest: break out a load_fence function
2019-08-05 16:37:08 +10:00
Peter Barker
1fbd41e6f3
Tools: autotest: add test for Rover SmartRTL
2019-07-23 19:00:38 +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
98d897e790
Tools: common: implement do_set_relay and do_set_relay_mavproxy
2019-07-16 18:58:54 +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
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
6332d2e729
Tools: autotest: fix race condition with getting parameters
2019-07-08 16:51:25 +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
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
Peter Barker
d8278335a1
Tools: autotest: move upload_using_mission_protocol up to common.py
2019-06-07 16:29:37 +10:00
Peter Barker
c8a4af76fe
Tools: autotest: add tests for Plane fence
2019-06-07 16:29:37 +10:00
Peter Barker
6047ef105e
Tools: autotest: correct text MAVProxy-dedupe check in mission load
...
This failed to protect against multiple rapid calls to load_mission
2019-06-06 10:33:28 +10:00
Peter Barker
e9552ec4e1
Tools: autotest: more efficient set_rc_from_map
2019-06-02 10:02:24 +10:00
Peter Barker
3ed55ea3c5
Tools: autotest: add drain_mav_unparsed and use it
2019-05-28 20:41:56 +10:00
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
2019-05-22 08:53:45 +10:00
Francisco Ferreira
4f153f06b3
Tools: autotest: increase timeout for arming param check
2019-05-15 22:44:22 +01:00
Francisco Ferreira
e95d603a73
Tools: autotest: parse all heartbeats when looking for mode change
2019-05-15 22:44:22 +01:00
Peter Barker
d76894d883
Tools: autotest: drain mav before getting message rates, improve debug
2019-05-09 19:53:53 +10:00
Peter Barker
a2105e1f81
Tools: autotest: correct statustext sending under Python3
2019-05-02 13:15:37 +10:00
Peter Barker
18391d8a9a
Tools: autotest: produce stacktraces under Python3
2019-05-02 13:15:37 +10:00
Peter Barker
4a237af093
Tools: autotest: ensure reboot if dataflash-over-mavlink test fails
...
Will stop cascading failures from occuring
2019-04-30 19:19:58 +10:00
Peter Barker
0cd5d66e3a
Tools: autotest: increase epsilon
...
our round-trips etc cost precision
2019-04-23 10:06:17 +10:00
Peter Barker
2cb69366c8
Tools: autotest: facilitate changing mode by number
2019-04-19 07:51:49 +09:00
Peter Barker
5e69758661
Tools: autotest: factor out a start_mavproxy method
2019-04-16 21:10:22 +10:00
Peter Barker
b2acd15a55
Tools: autotest: encode string to bytes before passing to statustext_send
2019-04-15 18:40:01 +10:00
Peter Barker
b7eca63073
Tools: autotest: send statustext with test name to autopilot
...
This gets logged into the dataflash so you can quickly find relevant
logs
2019-04-14 07:56:39 +10:00
Peter Barker
696de42eea
Tools: autotest: check we're seeing PL messages in the log during
...
precland
2019-04-04 11:54:58 +11:00
Peter Barker
4eaee039f0
Tools: autotest: avoid touch RC*_OPTION on sub
2019-03-30 12:01:49 +11:00
Peter Barker
6f52fa5622
Tools: autotest: do not set ARMING_RUDDER on sub and tracker
2019-03-29 19:07:18 +11:00
Peter Barker
ffccd6f263
Tools: autotest: stop using mav.location() for Tracker test
...
Turns out that since we don't stream vfr_hud mav.location won't ever
work
2019-03-29 07:40:45 +11:00
Peter Barker
9a16b40a73
Tools: autotest: rename get_rudder_channel to get_stick_arming_channel
...
... as some of these aren't actually rudder inputs...
2019-03-27 11:29:53 +11:00