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
Peter Barker
0a5eedb05a
autotest: wipe and reinitialise parameters when resetting SITL commandline
...
Should fix this scenario:
- Plane soaring test uses different defaults file
- soaring test sets a parameter away from default value
- context pop sets it back to the value in the defaults file
- it is now in permanent storage with the default found in the
different defaults file used by the soaring test
- we finish running the soaring test an reset the SITL command line
back to default, with the old defaults file
- we go on to running the next test. At this point the value for that
parameter is the default in the defaults file used by the soaring test.
Something similar applies in the Callisto test.
4 years ago
Pierre Kancir
67533c3284
Autotest: add setpoint_target tests on rover
4 years ago
Pierre Kancir
7a2a60e65c
Tools: rover: correct test_setting_modes_via_mavproxy_switch for RTL and AUTO
4 years ago
Pierre Kancir
e4707c20ea
Tools: rover: add initial_mode_switch_mode
4 years ago
Pierre Kancir
7d88d104b8
Tools: put Rover SlewRate test on disable list for now
4 years ago
Peter Barker
17f806cdb9
autotest: add test for execution of button-bound functions
4 years ago
Pierre Kancir
07ffac429b
Tools: rover: add test for slew rate
4 years ago
Peter Barker
49fd762f26
autotest: fix and re-enable button test
...
A recent commit to fix the setting-of-pullup-resistors in SITL makes it
possible to re-enable this.
Closes #15259
4 years ago
Peter Barker
0f5f040380
autotest: send all progress messages to autopilot
...
These will be logged into dataflash and into the telemetry log
5 years ago
Peter Barker
f3866e5f39
autotest: disable button test
5 years ago
Peter Barker
cafc5b01f4
autotest: fix race condition in Rover RTL test
5 years ago
Peter Barker
b7641345e1
autotest: set and get parameters directly using mavlink message
5 years ago
Pierre Kancir
5b72de25e0
Autotest: update wait_distance_to_home
...
Autotest: copter: allow to pass min_distance for RTL
Autotest: rover: allow to pass min distance for RTL
5 years ago
Peter Barker
a190490b64
autotest: do not rely on MAVProxy for sending banner request
5 years ago
Pierre Kancir
0c3e9bbd4b
Autotest: fix mavlink_time_boot format: should be int
5 years ago
Peter Barker
c69908e7ea
autotest: add proximity sensor readinds as if from depth camera
5 years ago
Peter Barker
ea5aa594a3
autotest: add test for AP_Proximity_MAV
5 years ago
Pierre Kancir
52ae087fb5
Autotest: rover: remove some raw mavproxy cmd for rc
5 years ago