Commit Graph

651 Commits

Author SHA1 Message Date
Peter Barker
5125874681 autotest: add some tests for running multiple GPSs 2021-10-13 18:02:16 +11:00
Peter Barker
265616b582 autotest: tidy use of dump_message_verbose 2021-10-13 18:02:16 +11:00
Peter Barker
7446a28c45 autotest: augment simulated GPS tests 2021-10-13 18:02:16 +11:00
Peter Barker
abd5daccbb autotest: augment HIGH_LATENCY2 test with location test 2021-10-05 10:20:44 +11:00
Peter Barker
d7f037e548 autotest: add test for setting streamrates from files 2021-09-30 10:31:03 +10:00
Peter Barker
b52b381673 Tools: remove mtk GPSs
These are ancient and of very poor quality.
2021-09-29 17:28:59 +10:00
Peter Barker
89c884e8f1 autotest: add test for HIGH_LATENCY2 2021-09-29 15:51:30 +10:00
Peter Barker
dd36908ba4 autotest: include SBP file in those that contain log messages 2021-09-28 10:45:51 +10:00
Peter Barker
e906cdf1e4 Tools: move SBP logging structures into AP_GPS 2021-09-28 10:45:51 +10:00
Josh Henderson
27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +10:00
Peter Barker
bc664d77b7 autotest: add trivial test for MAVFTP using MAVProxy 2021-09-27 11:42:47 +10:00
Peter Barker
ba5e94ad9a autotest: add load_generic_mission 2021-09-26 17:35:46 +10:00
Peter Barker
6ae280a5d7 autotest: test GPS input using different simulated GPSs 2021-09-25 20:48:41 +10:00
Iampete1
52a805e978 Tools: autotest: update arming swich option number 2021-09-21 09:36:24 +10:00
Peter Barker
0c84c50d70 autotest: exempt HAL_QUADPLANE_ENABLED line in log metadata gen 2021-09-14 13:55:01 +10:00
Peter Barker
d7a5e460cc autotest: add tests for changing WPNAV_SPEED_{UP,DN}
and slight augment for WPNAV_SPEED
2021-09-08 21:29:38 +10:00
Peter Barker
b9d62e7ff2 autotest: add test for setting multiple messages to same rate 2021-09-02 09:24:11 +10:00
yaapu
17cdb07bd5 Tools:autotest: added test for FRSky PassThrough WIND frame 0x500C 2021-08-25 17:13:16 +10:00
Gone4Dirt
fba15f3035 Autotest: Update RPM param. 2021-08-25 09:36:58 +10:00
Peter Barker
e263063600 autotest: a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
make sure the SERVO_FWT_MASK is valid:
  - it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
  - Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
2021-08-13 16:22:37 +10: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
5e81026e78 autotest: add option to hard-reset after every test 2021-08-13 08:01:20 +10:00
Peter Barker
cccec5c21c autotest: add test for FRSkyD battery 2021-08-11 15:17:43 +10:00
Peter Barker
abb6521127 Revert "autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)"
This reverts commit 540a56adb8.

Polling this message caused issues on reboot - shouldn't be a problem
but is.

Retrying that showed that the Tracker GUIDED test failed reliably due to
a yaw problem.
2021-08-07 16:18:05 +10:00
Peter Barker
540a56adb8 autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)
It is a useful superset
2021-08-05 18:35:11 +10:00
Peter Barker
27fcb3a100 autotest: fix simstate error message 2021-08-05 18:35:11 +10:00
Peter Barker
ca35d01baa autotest: move upload_simple_relhome_mission up 2021-08-05 10:38:03 +10:00
Josh Henderson
162b3b70cf Autotest: use MAV_POS_TARGET_TYPE_MASK, remove POS_TYPE_MASK_FORCE 2021-08-03 12:48:38 +10:00
Andrew Tridgell
e6f15ed6c0 autotest: cope with WriteStreaming() in doc tests 2021-08-03 10:23:36 +10:00
Andrew Tridgell
a0da76243d autotest: reboot after AHRS_ORIENTATION test
the EKF can be left very unhappy by this test
2021-07-31 10:01:14 +10:00
Peter Barker
2ae483cee0 autotest: stop uploading artifacts to autotest server
github action's CI is good at this
2021-07-30 11:32:59 +10:00
Peter Barker
7929122f49 autotest: improve AHRS trim test 2021-07-28 17:20:28 +10:00
Peter Barker
909decc5be autotest: move wait_attitude up to common.py 2021-07-28 17:20:28 +10:00
Peter Barker
da3ff2c142 autotest: add test for live change of AHRS orientation 2021-07-27 17:28:09 +10:00
Peter Barker
04ddc9de03 autotest: correct order of progress vs action in set-param 2021-07-27 16:51:48 +10:00
Peter Barker
e1884bcd6e autotest: run dumpstack/dumpcore on stuck SITL process 2021-07-27 16:51:48 +10:00
Peter Barker
eff4bc4cfb autotest: drain pexpects in set_parameters loop
This loop doesn't self.mav.recv(), so the idle loop isn't called, so the
pexpects aren't drained.  That can cause ArduPilot to block on stderr if
it is trying to print a stacktrace, for example
2021-07-21 17:05:17 +10:00
Peter Barker
43a4ea734f autotest: add some diagnostics for missing processes 2021-07-21 15:50:50 +10:00
Peter Barker
571ae46b0f Tools: split yaw-vehicle-for-mount-roi test out 2021-07-19 18:16:13 +10:00
Andrew Tridgell
618fa156c7 autotest: added --replay option to autotest
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Peter Barker
743ed05367 autotest: detect ap-*.core as we do core.* files 2021-07-08 15:46:07 +10:00
Andrew Tridgell
3a7075fc65 autotest: fixed config error loop test 2021-07-08 07:56:51 +10:00
Peter Barker
c1a5ca6060 autotest: add test to ensure we get a log if arming is forced 2021-07-04 08:54:54 +10:00
Peter Barker
85f36f957d autotest: add force option to arm_vehicle 2021-07-04 08:54:54 +10:00
Peter Barker
4c173e01ef autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1 autotest: shift where we print which attempt we are doing 2021-06-24 17:58:31 +10:00
Peter Barker
b58e7bedaa autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-06-24 08:34:06 +10:00
Peter Barker
d6f619fb1a autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-06-24 08:30:03 +10:00
Peter Barker
99c7d3aabc autotest: ensure no stray message listeners after test 2021-06-23 21:55:32 +10:00
Peter Barker
6a8ca9e45b autotest: timeout in wallclock time in config error loop test
SYSTEM_TIME is not sent in config error loop
2021-06-23 21:55:32 +10:00