Commit Graph

678 Commits

Author SHA1 Message Date
Peter Barker 474c42f9d3 autotest: move assert_prearm_failure up 2021-12-17 09:58:37 +11:00
Peter Barker 8e3265d1f6 autotest: add a test for dataflash log message rates 2021-12-07 09:39:51 +11:00
Andrew Tridgell 9ee140cbbf Tools: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Peter Barker 66395ce195 autotest: add tests for AVD_F_ALT_MIN 2021-12-04 11:35:13 +11:00
Shiv Tyagi 181eff46ac Tools: fix autotest for devo telemetry
We should pass(skip) the autotest when devo telemetry is compiled out
2021-12-01 19:16:44 +11:00
Iampete1 f52fb3148b Tools: autotest: common and arducopter: use new compass params 2021-11-30 08:14:43 +09:00
Peter Barker 746d9fda8d autotest: add --callgrind option 2021-11-29 20:46:02 +11:00
Peter Barker ad4b934b3c autotest: correct MAVFTP test for autotest server
The autotest server runs autotest.py from a directory one-up from the
ArduPilot root directory, whereas most people run it from the root
directory.  The test wasn't taking that into account, looking for a
directory which doesn't necessarily exist.

Changed to os.listdir() to find a directory to look for in the MAVFTP
output.
2021-11-29 20:44:47 +11:00
Peter Barker b4b267be67 autotest: clarify parameter download test output 2021-11-29 15:10:10 +11:00
Peter Barker 0c0c70d50e autotest: wait a long time for GPS health in HIGH_LATENCY2
We're assuming this is healthy before running the tests.  Most of the time it was, but running under Valgrind it wasn't
2021-11-29 15:10:10 +11:00
Peter Barker 48c6239851 autotest: correct resetting of commandline under Valgrind 2021-11-29 15:10:10 +11:00
Peter Barker 09f06be17e autotest: add an autotest for DO_PAUSE_CONTINUE 2021-11-25 08:18:27 +09:00
Peter Barker a7aa74ab20 autotest: add rangefinder convenience functions, fix wait_alt handling
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker 5025056f4e autotest: fix MSP_DJI test for Py2 2021-11-20 09:37:02 +11:00
Peter Barker b42432ea3e autotest: add trivial test for MSP 2021-11-17 12:06:07 +11:00
Shiv Tyagi 5811a62bc6 Tools: add autotest for DEVO telemetry
This adds an autotest to test if we receive data with devo telemetry correctly.
2021-11-16 11:37:10 +11:00
Peter Barker 75b9a3ff77 autotest: add test for PerfInfo tasks.txt info 2021-11-14 20:43:30 +11:00
Peter Barker 756e45cda2 autotest: add get_stacktrace method 2021-11-11 10:06:47 +11:00
Peter Barker 69d86e6896 autotest: turn draining_mav off when doing early-exit for being quiet 2021-11-11 07:23:09 +11:00
Peter Barker 2dd392ec4b autotest: read pexpects while waiting for sim time
If we do not drain pexpects regularly the ardupilot process can become blocked on terminal IO
2021-11-07 09:59:12 +11:00
Peter Barker bb973ac913 autotest: print content of sitl /proc/PID/status on death
Mysterious death ofi Copter in CI - add more debug
2021-11-06 17:22:52 +11:00
Peter Barker f86b2c1051 autotest: add sanity check that sim time is updating 2021-11-06 17:22:52 +11:00
Peter Barker 99126d3cc7 autotest: add autotest for getting yaw from moving-baseline GPS setup 2021-10-21 08:34:36 +11:00
Peter Barker 2f90abd7ea autotest: raise an exception in the case we don't load a parameters file 2021-10-21 08:34:36 +11:00
Peter Barker 0e6b0cbf35 autotest: add trivial test for MegaSquirt EFI system 2021-10-17 10:00:08 +11:00
Josh Henderson f67a4ec025 Tools: High_Latency2 Test Fix Location Distance Test 2021-10-13 19:40:45 +11:00
Josh Henderson 941cd6ebc2 Tools: arduplane.py add HIGH_LATENCY2 tests and Check Air_Temperature 2021-10-13 19:40:45 +11:00
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