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
b208b76884
Tools: autotest: add trivial test for receiving COLLISION message
2019-07-16 09:52:54 +10:00
Pierre Kancir
9d20a13cd4
Tools: reduce mavproxy memory usage on autotest
2019-07-14 15:52:47 +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
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
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
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
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
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
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
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
Peter Barker
fec3dc4f70
Tools: autotest: add tests for Plane AuxSwitch mode changes
2019-06-18 10:48:47 +10:00
Peter Barker
553037c117
Tools: autotest: disable fence when RTLing to home
...
Otherwise we breach the fence while loitering...
2019-06-14 18:23:27 +10:00
Peter Barker
326e208123
Tools: autotest: allow switch to debounce in aux-switch test
2019-06-14 10:40:52 +10:00
Peter Barker
23f5fabbcf
Tools: autotest: add tests for aux-switch options for mission reset and clear
2019-06-13 19:37:32 +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
10120cee54
Tools: autotest: disable horizontal fence avoidance test showing bugs
2019-06-07 15:26:39 +10:00
Peter Barker
6e13adb43c
Tools: autotest: add test for fence Avoidance
2019-06-07 15:26:39 +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
9ee0befb38
Tools: autotest: Copter: add avoidance test for beacon fence
2019-06-04 09:06:07 +09:00
Peter Barker
3008fe6eb5
Tools: autotest: Copter: add test for fence avoidance sliding
2019-06-04 09:06:07 +09:00
Peter Barker
acdddb8b1f
Copter: autotest: Copter: add test for proximity boundary avoidance
2019-06-04 09:06:07 +09:00
Andrew Tridgell
1f98665699
moved build.Binaries ahead of build.All
...
ensure we get new builds out quickly
2019-06-03 17:59: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 Hall
fbc2650449
Tools: autotest: update sailboat default params
2019-05-28 08:35:58 +09: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
Peter Barker
9e8e48c9c6
Tools: autotest: add test for Plane DO_CHANGE_SPEED
2019-05-21 13:06:07 +10:00
Peter Barker
316db6e4b6
Tools: sim_vehicle.py: add option --rgbled for simulated RGBLed
2019-05-21 09:21:56 +10:00
Rajat Singhal
ea2ec9e4a2
Tools: autotest: fix process kill in sim_vehicle.py
2019-05-16 13:52:26 +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
967bf39ec0
Tools: autotest: correct Rover zero throttle
2019-05-15 12:50:35 +09:00
Peter Hall
960c30c909
Tools: autotest: update sailboat default params
2019-05-15 11:29:39 +09:00
Randy Mackay
b3958ee2d0
Tools: rover default params sets WP_SPEED
2019-05-10 06:55:35 +09:00
Peter Barker
d76894d883
Tools: autotest: drain mav before getting message rates, improve debug
2019-05-09 19:53:53 +10:00
Peter Barker
fd19b257f9
Tools: autotest: print test failure summary at end of running all steps
2019-05-08 10:27:50 +10:00
Peter Barker
156f0ff496
Tools: autotest: ensure we get get saved-gains message in qautotune
2019-05-07 09:23:50 +10:00
Andrew Tridgell
0cbc612ef6
autotest: fixed copy of gen_stable.py
2019-05-04 11:20:37 +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
459f2e62c9
Tools: autotest: correct bad INS_LOG_BAT_MASK default
...
This is an AP_Int8
2019-05-02 10:53:31 +10:00
Andrew Tridgell
3170327a9c
Tools: added SpringValley flying site
2019-05-01 16:04:48 +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
d9e40203b2
Tools: autotest: remove defunct MAG_ENABLE from defaults files
...
Removed entirely rather than updated as "enabled" is the default across
our vehicles.
2019-04-30 16:53:05 +10:00
Peter Barker
d05a4a04c5
Tools: autotest: add autotest for sink-rate triggering
2019-04-30 13:04:02 +10:00
Peter Barker
c726db2a82
Tools: autotest: add trivial test for old fence protocol
2019-04-30 08:44:03 +10:00
Peter Barker
12e62d0107
Tools: autotest: correct reversion of self.mav.mav.srcSystem
2019-04-29 21:53:23 +10:00
Peter Barker
68769e24c1
Tools: autotest: add timeout for problematic spline test
2019-04-29 10:02:09 +10:00
Peter Barker
b207c2607e
Tools: autotest: correct spline waypoint arming sequence
2019-04-25 13:05:46 +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
27f642014c
Tools: autotest: add test for Copter onboard mag calibration
2019-04-23 10:06:17 +10:00
Tomoshi Wagata
53e99027a3
Tools: add kawachii location for SITL
2019-04-22 09:06:48 +09:00
Peter Barker
2cb69366c8
Tools: autotest: facilitate changing mode by number
2019-04-19 07:51:49 +09:00
CAO MUQING
07747c5c09
Tools: autotest: add and update zigzag flight mode test for copter
...
Tools: autotest: add copter zigzag mode
Tools: autotest: update copter zigzag flight test
2019-04-19 07:51:49 +09:00
Peter Barker
18ed422a97
Tools: autotest: add test for flying spline waypoints
2019-04-16 21:41:58 +10:00
Peter Barker
5e69758661
Tools: autotest: factor out a start_mavproxy method
2019-04-16 21:10:22 +10:00
Mark Whitehorn
cfbda3fd3e
Tools: autotest: add support for parameter file inheritance
2019-04-16 09:04:25 +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
119c5fe835
Tools: autotest: do not navigate to 0,0,0
...
This falls afould of the uninitialised-location check
2019-04-10 11:24:55 +10:00
Peter Barker
601504e685
Tools: autotest: ensure RNFD messages emitted
2019-04-09 22:17:58 +10:00
Peter Barker
7034ef2df7
Tools: autotest: raise throttle in loiter mode
...
This avoids the vehicle hitting the ground while we're looking for
messages.
2019-04-09 19:30:41 +10:00
Michael du Breuil
ec1b6db83b
Tools: Remove BRD_SERIAL_NUM from parameter files
2019-04-08 18:18:32 -07:00
Peter Barker
92970cf4ed
Tools: autotest: add test for Copter poshold user takeoff
2019-04-09 08:15:39 +10:00
Peter Barker
83f6bed1dc
Tools: autotest: add test for taking off in poshold in heli
2019-04-08 15:31:41 +10:00
Randy Mackay
0daed8c793
Tools: update autotest to use FLOW_TYPE
2019-04-08 11:26:59 +09:00
Rajat Singhal
a87d388a6c
Tools: autotest: Added tests for checking POSITION_TARGET messages for Copter
...
Tools: autotest: Added timeout, mavutil const in test_guided_local_target()
Tools: autotest: Corrected mesage checking in test_guided_local_target()
Tools: autotest: Fixed comments in test_guided_local_target()
Tools: autotest: Added test for checking whether correct local target is
received by Copter
Tools: autotest: added error tolerance, divided check into xyz components
Tools: autotest: Added test for correct local velocity target for Copter
Tools: autotest: Added test for checking if POSITION_TARGET_LOCAL messages are sent only in Guided Mode for Copter
2019-04-05 21:04:10 +11:00
Andrew Tridgell
84d5d4c933
autotest: fixed precision landing test for copter
...
make sure the target is away from the current location
2019-04-05 15:13:30 +11:00
Stephen Dade
e8d6e4f135
Tools: Removed JSBSim from Windows install script
2019-04-05 10:31:09 +11:00
Stephen Dade
7461d70e82
Tools: Consolidated prereq install scripts to single location
2019-04-05 10:31:09 +11: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
Pierre Kancir
1101cc05e6
Tools: param_parse: update OptionParser to ArgumentParser
2019-04-02 19:57:13 +11:00
Peter Barker
4bdc18569e
Tools: autotest: correct for new staustext output
2019-04-02 11:07:58 +11:00
Peter Barker
da2cf627d8
Tools: autotest: add test for buttons
2019-04-02 08:13:44 +11:00
Peter Barker
b1119589e7
Tools: autotest: move AVC test into Copter-specific block
2019-04-01 11:35:59 +11:00
Peter Barker
4eaee039f0
Tools: autotest: avoid touch RC*_OPTION on sub
2019-03-30 12:01:49 +11:00