Peter Barker
add5243634
autotest: Rover: ensure we actually stop at rally point
3 years ago
Peter Barker
8fd5df33d5
autotest: add test for stick-mixing in auto mode
3 years ago
Peter Barker
515b79a6ca
autotest: remove un-needed calls to drain_mav_unparsed
...
these calls are generally bad now, given we have context_collect things going on which always want to see messages coming in
3 years ago
Peter Barker
a672c7df97
autotest: add test for changing modes by mode number
...
Useful for when you don't have a mapping entry for the mode number yet
3 years ago
Peter Barker
043764fbf9
autotest: use set_parameters in rover; fixup tests to use context
3 years ago
Peter Barker
ef0f5110cb
autotest: set Rover speedup to 30
...
This is closer to what's achieved on modern CPUs.
Running at 100 can lead to very rapid RC inputs which can cause issues.
3 years ago
Peter Barker
4a015bd479
autotest: fix race condition in mission-end-behaviour test
3 years ago
Peter Barker
57b0d7f235
autotest: change rover default speedup time to 100
3 years ago
Pierre Kancir
4e2e4fa4d4
Tools: autotest: remove useless shebang
3 years ago
Peter Barker
876cc77808
autotest: fix Rover syntax for Python2
...
Apparently ** is Python3-only
3 years ago
Peter Barker
1340132f6f
autotest: add rangefinder test
3 years ago
Randy Mackay
b6af126514
Tools: relax rover sprayer test
...
vehicle's speed is slightly lower when using SCurve navigation
3 years ago
Randy Mackay
ea5e3a8ae0
Tools: rover autotests send position-target-global-int more slowly
...
SCurves do not work with very fast changes of target
3 years ago
Randy Mackay
8ff6972b7e
Tools: rover autotest DriveRTL timeout increased by 10sec
3 years ago
Peter Barker
001a06d17d
autotest: add tests to a pair of lua scripts
3 years ago
Peter Barker
376d7ade50
autotest: use assert_receive_message to remove redundant code
3 years ago
Peter Barker
c8780792d4
autotest: loosen position constraint on SET_POSITION_TARGET_LOCAL_NED test
3 years ago
Peter Barker
62df8facd9
autotest: fix rover POSITION_TARGET_LOCAL test
3 years ago
Peter Barker
a58e808af8
autotest: fix Rover gripper mission test
...
We can lose the statustext when getting current time
3 years ago
Peter Barker
2cdb082139
autotest: add test for estop-on-rc-switch
3 years ago
Peter Barker
b75f8211d2
autotest: comment out probably-defunct test
3 years ago
Peter Barker
6e4aa2264f
autotest: add test for uploading big fence then small fence
3 years ago
Peter Barker
56dda4c07f
autotest: fix race condition in Rover gcs mission test
3 years ago
Josh Henderson
a06a192255
Autotest: Rover add test for multiple depth finders
3 years ago
Peter Barker
00c6308b25
autotest: add test for FRAMStorage
3 years ago
Peter Barker
b2a7841672
Tools: allow for selection of Storage backend type at runtime
3 years ago
Peter Barker
89c884e8f1
autotest: add test for HIGH_LATENCY2
3 years ago
Peter Barker
40a463f60c
autotest: simplify camera mission item test
...
Rename for the modern style of keeping method name same as test name.
Remove pointless try/except block as it wasn't doing anything useful.
3 years ago
Peter Barker
1e1e8010e3
autotest: remove APM references
3 years ago
Peter Barker
8fc6e98900
autotest: raise exception for arm/disarm failures on switch/rc
...
Users were calling these without checking the return values. Make that
a non-issue
4 years ago
Peter Barker
013bee99f4
autotest: rover: wait ready to arm before running motor test
4 years ago
Peter Barker
7929122f49
autotest: improve AHRS trim test
4 years ago
Peter Barker
6944ef6af1
autotest: fly each working Helicopter frame
4 years ago
Peter Barker
3eb164fb6a
autotest: move script helper functions from rover to common
4 years ago
Peter Barker
9a13b5c9b6
autotest: add test for auxfunc triggering via script
4 years ago
Peter Barker
7d9daccdf7
autotest: fix mavproxy switch test
...
The order in which we fix the environment means that we need to be
listening on the correct port for rc values - so just fix it in the test
4 years ago
Peter Barker
462ac255a3
autotest: start MAVProxy only as needed for testing
4 years ago
Peter Barker
4aed767fe9
autotest: add test for MAV_CMD_DO_SET_MISSION_CURRENT
4 years ago
Peter Barker
cc83562add
autotest: tidy fence handling
4 years ago
Peter Barker
10007e2e42
autotest: load missions natively rather than using MAVProxy
4 years ago
Peter Barker
993d87469c
autotest: move mission upload functions from rover to common
4 years ago
Peter Barker
0daa1a63d3
autotest: remove pointless fetch_parameters call
...
And the entire method, replace with equivalent test
4 years ago
Peter Barker
1f47698076
autotest: use change_mode in place of mavproxy.send
4 years ago
Peter Barker
9120882e9e
autotest: print name of open dataflash log when test exception caught
...
The stack trace is already extremely useful... but mapping back to the
relevant dataflash log is a bit of a pain.
Adding more stuff to this method in the future might be good, too.
4 years ago
Peter Barker
c13d229877
autotest: use self.set_current_waypoint rather than "wp set" to set current wp
4 years ago
Peter Barker
726f54e37f
autotest: flake8 compliance for rover.py
4 years ago
Peter Barker
a292fe1b8b
autotest: use wait_statustext rather than mavproxy.expect
...
This is important when running under Valgrind as the text can be
significantly delayed. wait_statustext times out in simulation time,
whereas mavproxy.expect has a flat 60s timeout
4 years ago
Peter Barker
1ca0998f32
Tools: take MAV_CMD_DO_SPRAYER as a mavlink command
4 years ago
Peter Barker
b14dcf4bae
Tools: add mission command to turn sprayer on and off
4 years ago
Pierre Kancir
c02dfd1214
Autotest: add EndMissionBehavior Test for rover
4 years ago