Peter Barker
876cc77808
autotest: fix Rover syntax for Python2
...
Apparently ** is Python3-only
2022-04-24 14:21:45 +09:00
Peter Barker
1340132f6f
autotest: add rangefinder test
2022-04-19 10:26:10 +10:00
Randy Mackay
b6af126514
Tools: relax rover sprayer test
...
vehicle's speed is slightly lower when using SCurve navigation
2022-03-30 15:34:14 +09:00
Randy Mackay
ea5e3a8ae0
Tools: rover autotests send position-target-global-int more slowly
...
SCurves do not work with very fast changes of target
2022-03-30 15:34:14 +09:00
Randy Mackay
8ff6972b7e
Tools: rover autotest DriveRTL timeout increased by 10sec
2022-03-30 15:34:14 +09:00
Peter Barker
001a06d17d
autotest: add tests to a pair of lua scripts
2022-02-18 21:23:06 +11:00
Peter Barker
376d7ade50
autotest: use assert_receive_message to remove redundant code
2022-02-15 11:06:10 +11:00
Peter Barker
c8780792d4
autotest: loosen position constraint on SET_POSITION_TARGET_LOCAL_NED test
2022-01-08 13:59:19 +11:00
Peter Barker
62df8facd9
autotest: fix rover POSITION_TARGET_LOCAL test
2022-01-07 22:47:19 +11:00
Peter Barker
a58e808af8
autotest: fix Rover gripper mission test
...
We can lose the statustext when getting current time
2022-01-06 17:48:30 +11:00
Peter Barker
2cdb082139
autotest: add test for estop-on-rc-switch
2021-12-17 09:58:37 +11:00
Peter Barker
b75f8211d2
autotest: comment out probably-defunct test
2021-11-30 20:50:32 +11:00
Peter Barker
6e4aa2264f
autotest: add test for uploading big fence then small fence
2021-11-30 20:50:32 +11:00
Peter Barker
56dda4c07f
autotest: fix race condition in Rover gcs mission test
2021-11-05 09:07:19 +11:00
Josh Henderson
a06a192255
Autotest: Rover add test for multiple depth finders
2021-10-15 13:08:17 +11:00
Peter Barker
00c6308b25
autotest: add test for FRAMStorage
2021-10-12 20:01:49 +11:00
Peter Barker
b2a7841672
Tools: allow for selection of Storage backend type at runtime
2021-10-05 10:16:54 +11:00
Peter Barker
89c884e8f1
autotest: add test for HIGH_LATENCY2
2021-09-29 15:51:30 +10:00
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.
2021-09-29 11:38:18 +10:00
Peter Barker
1e1e8010e3
autotest: remove APM references
2021-09-18 10:45:39 -05:00
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
2021-08-13 13:40:28 +10:00
Peter Barker
013bee99f4
autotest: rover: wait ready to arm before running motor test
2021-08-13 08:00:52 +10:00
Peter Barker
7929122f49
autotest: improve AHRS trim test
2021-07-28 17:20:28 +10:00
Peter Barker
6944ef6af1
autotest: fly each working Helicopter frame
2021-06-09 12:15:42 +10:00
Peter Barker
3eb164fb6a
autotest: move script helper functions from rover to common
2021-05-14 13:21:36 +10:00
Peter Barker
9a13b5c9b6
autotest: add test for auxfunc triggering via script
2021-05-05 07:13:18 +10:00
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
2021-04-03 08:58:52 +11:00
Peter Barker
462ac255a3
autotest: start MAVProxy only as needed for testing
2021-03-19 09:46:45 +11:00
Peter Barker
4aed767fe9
autotest: add test for MAV_CMD_DO_SET_MISSION_CURRENT
2021-03-04 11:59:33 +11:00
Peter Barker
cc83562add
autotest: tidy fence handling
2021-03-02 16:54:06 +11:00
Peter Barker
10007e2e42
autotest: load missions natively rather than using MAVProxy
2021-03-02 14:24:36 +11:00
Peter Barker
993d87469c
autotest: move mission upload functions from rover to common
2021-03-02 14:24:36 +11:00
Peter Barker
0daa1a63d3
autotest: remove pointless fetch_parameters call
...
And the entire method, replace with equivalent test
2021-03-01 17:27:52 +11:00
Peter Barker
1f47698076
autotest: use change_mode in place of mavproxy.send
2021-03-01 13:10:09 +11:00
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.
2021-02-21 21:35:35 +11:00
Peter Barker
c13d229877
autotest: use self.set_current_waypoint rather than "wp set" to set current wp
2021-02-19 12:25:40 +11:00
Peter Barker
726f54e37f
autotest: flake8 compliance for rover.py
2021-02-18 10:43:05 +11:00
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
2021-02-17 18:16:04 +11:00
Peter Barker
1ca0998f32
Tools: take MAV_CMD_DO_SPRAYER as a mavlink command
2021-02-16 22:36:43 +11:00
Peter Barker
b14dcf4bae
Tools: add mission command to turn sprayer on and off
2021-02-16 22:36:43 +11:00
Pierre Kancir
c02dfd1214
Autotest: add EndMissionBehavior Test for rover
2021-01-27 08:23:52 +09:00
Andrew Tridgell
d47afb2406
autotest: added AHRSTrim test and add trim to accel cal test
...
this ensures the handling of AHRS trim is correct
2021-01-25 16:24:50 +11:00
Peter Barker
ad2ab333f9
Tools: autotest: allow autotest to connect directly to SITL
2021-01-24 09:25:45 +11:00
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.
2021-01-20 08:54:43 +11:00
Peter Barker
04a52835c0
autotest: correct Rover set-position-target-global-int test
...
The vehicles doesn't send us set messages!
2021-01-19 21:16:39 +11:00
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
2021-01-19 10:34:00 +11:00
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
2021-01-15 20:56:30 +11:00
Peter Barker
47aea5f44c
autotest: print stack traces for caught exceptions
2021-01-13 19:46:13 +11:00
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
2021-01-13 15:09:29 +11:00
Peter Barker
f478666700
autotest: correct scripting test for missing message
...
The message could pass us by
2021-01-13 12:24:17 +11:00