Commit Graph

105 Commits

Author SHA1 Message Date
Peter Barker 873e04195f autotest: add test for QuadPlane transition states 2021-11-15 07:21:27 +11:00
Iampete1 a69f40b7fb Tools: autotest: update quadplane throttle min param name 2021-10-11 22:19:17 -04:00
Iampete1 52a805e978 Tools: autotest: update arming swich option number 2021-09-21 09:36:24 +10:00
Iampete1 2fa24fa7da Tools: autotest: enable tailsitter for tailsitter test 2021-08-25 14:34:50 +01:00
Peter Barker 0d4bee8f7b autotest: except QRTL/QLAND from airmode tests due to non-armability
The test wasn't checking the return value for arming, so of course the
motors weren't spinning.... now we've fixed the checked-for-arming thing
these two modes were failing.
2021-08-13 13:40:28 +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 99a0f5a86a autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-06-27 11:09:39 +10:00
Peter Barker 6944ef6af1 autotest: fly each working Helicopter frame 2021-06-09 12:15:42 +10:00
Peter Barker cf4acaa2aa autotest: re-enable quadplane QAutoTune test 2021-05-05 23:43:59 +10:00
Peter Barker fdbbcaa506 autotest: bump default speedups for several vehicles
These tests seem to run stabley on my box with essentially no speedup
limit
2021-03-24 14:46:48 +11:00
Peter Barker 462ac255a3 autotest: start MAVProxy only as needed for testing 2021-03-19 09:46:45 +11:00
Peter Barker 4b3adb806c autotest: add test for tailsitter throttle 2021-03-16 10:41:44 +11:00
Randy Mackay 4abae23306 Tools: disable QuadPlane.GyroFFT autotest 2021-03-08 08:52:05 +09:00
Peter Barker d4aef2dba8 autotest: stop using MAVProxy to change mode 2021-02-20 00:03:24 +11:00
Peter Barker 05c9b79a5e autotest: make and declare quadplane.py flake8-clean 2021-02-20 00:02:33 +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 cdaff74948 autotest: stop trying to arm in QRTL 2021-02-03 18:22:10 +11:00
Andrew Tridgell 3e640eed80 autotest: changes for per-IMU biases and scaling 2021-01-21 13:09:21 +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 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 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
Andrew Tridgell 3e3da61396 Tools: fixes from review feedback 2020-10-28 14:20:44 +11:00
Andrew Tridgell 1286c5f64e Tools: adjust quadplane tuning and QAssist test
fixed roll RTL and land in QAssist test
2020-10-28 14:20:44 +11:00
Andrew Tridgell 7820b402d6 Tools: tweak Qassist test to be more reliable
disabling stall prevention should help with travis
2020-10-28 14:20:44 +11:00
Andrew Tridgell c7a60f57ad Tools: improved quadplane tuning
and shorten GyroFFT log msgs so values can be seen in log
2020-10-28 14:20:44 +11:00
Andrew Tridgell 4e553bcbde Tools: fixed Qassist test
it was using the wrong roll angle for recovery, and relied on poor
tuning of old model to overshoot by 20 degrees
2020-10-28 14:20:44 +11:00
Mark Whitehorn a37b5c2c6b autotest: add rudder disarm checks for airmode 2020-08-18 11:42:34 +10:00
Mark Whitehorn d0ff26e782 autotest: expand quadplane AirMode autotest 2020-08-13 08:47:27 +10:00
Mark Whitehorn b9830f657a autotest: add quadplane airmode test 2020-08-13 08:47:27 +10:00
Mark Whitehorn 0d5de343d2 autotest: default throttle to 1000 for quadplane
zero throttle after disarming in do_RTL

Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-08-04 10:26:45 +10:00
Peter Barker d9085e34d8 autotest: default throttle to 1000 for quadplane 2020-07-22 17:35:47 +10:00
Peter Barker 7880120921 autotest: upload logs after quadplane tests 2020-07-22 14:40:31 +10:00
Andrew Tridgell c8641bd246 autotest: fixed qassist test
need non-neutral ailerons to trigger roll
2020-07-13 13:47:50 +10:00
Peter Barker e5395069f4 autotest: add test for angle q-assist 2020-07-01 20:57:32 +10:00
Peter Barker b0916231b2 autotest: add tests for log download 2020-05-26 19:32:49 +10:00
Peter Barker c8fdf9305b autotest: add test for quadplane stickmixing 2020-05-24 12:17:50 +10:00
Peter Barker 1f1383ab64 autotest: add quadplane test for qassist 2020-05-20 18:39:42 +10:00
Andy Piper db4a612c13 autotest: test 256 FT windows and fix calculation of log-based FFT
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
2020-05-06 10:14:30 +10:00
Samuel Tabor 913e5a23fe autotest: Add method to get default params for model. 2020-04-22 10:01:09 +10:00
Peter Barker 10e8f3f3d7 autotest: canonicalise on defaults_filepath rather than defaults_file
This naming better represents the fact this isn't just a filename.
2020-04-14 15:09:17 +10:00
Pierre Kancir bcd15bc6e4 Tools: update path for plane test missions files 2020-04-09 09:01:03 +10:00
Peter Barker 403950f61f autotest: add autotests for CPU failsafe 2020-03-20 12:19:21 +11:00
Peter Barker 92d2186b95 autotest: don't use self.mav.motors_disarmed_wait as it blocks forever 2020-03-17 16:31:29 +11:00
Andy Piper 94ff5d13c0 autotest: limit frequency matching to resolution of the FFT 2020-03-10 15:04:46 +11:00
Peter Barker dc8e1bd4a4 autotest: flake8 fixes 2020-03-07 20:45:26 +11:00
Peter Barker c7aff4eb11 autotest: fixes for quadplane fft test
recv_match's result is not iterable; it just gives you a single message.

printing the stacktrace when assigning to ex is tradition - we tend to
lose the stack traces otherwise

rebooting sitl is usually required if the context we've just popped had
a reboot in it (usually indicating a reboot-required parameter was set).
So I added a reboot after the context pop.
2020-03-07 20:45:26 +11:00
Andy Piper ba67ad39a0 Tools: quadplane test 2020-02-22 11:15:37 +11:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker 12b9928a56 Tools: autotest: break out a load_fence function 2019-08-05 16:37:08 +10:00
Pierre Kancir daaf769055 Tools: add arm/disarm testing on all modes 2019-07-11 11:42:45 +10:00