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
Andrew Tridgell
d47afb2406
autotest: added AHRSTrim test and add trim to accel cal test
...
this ensures the handling of AHRS trim is correct
4 years ago
Peter Barker
ad2ab333f9
Tools: autotest: allow autotest to connect directly to SITL
4 years ago
Andrew Tridgell
c396d15890
Revert "autotest: ensure defaults files don't set already-default-values"
...
This reverts commit 3d431cd4f1
.
It breaks MissionPlanner SITL. We can re-apply once MissionPlanner
copes with external_model.
4 years ago
Peter Barker
04a52835c0
autotest: correct Rover set-position-target-global-int test
...
The vehicles doesn't send us set messages!
4 years ago
Peter Barker
3d431cd4f1
autotest: ensure defaults files don't set already-default-values
...
autotest: mark some vehicles as having external physics models
autotest: add default_params_filename to some vehicle info
4 years ago
Peter Barker
cd8a393ac2
autotest: create own RC thread to handle setting of RC overrides
...
autotest: prevent method-on-undef problem in case of early test failure
autotest: plumb MAVProxy rc input back in for switch test
autotest: close off rc thread in case of timeout
4 years ago
Peter Barker
47aea5f44c
autotest: print stack traces for caught exceptions
4 years ago
Peter Barker
e85e6d3375
autotest: use new set_parameters in place of many set_parameter calls
...
autotest: use set_parameters for applying from parameter file
autotest: use set_parameters in place of many set_parameter calls
4 years ago
Peter Barker
f478666700
autotest: correct scripting test for missing message
...
The message could pass us by
4 years ago
Peter Barker
2240a60e20
autotest: add trivial test for set-position-target-local-ned
4 years ago
Peter Barker
53336595e1
autotest: add simple test for Rover set_attitude_target handling
4 years ago
Peter Barker
65cffdad5a
autotest: print stack traces when exceptions caught
4 years ago
Peter Barker
d31f676c33
autotest: don't use MAVProxy for uploading using fencepoint protocol
4 years ago
Peter Barker
12505c4c28
autotest: add tests for new higher-channel override semantics
4 years ago