Peter Barker
d7a9e40395
autotest: reuse Copter motor test for QuadPlane
2023-09-19 20:31:03 +10:00
Peter Barker
1a97d222d0
autotest: quadplane: fix race condition on RTL heartbeats
2023-09-14 09:04:41 +10:00
Peter Barker
cb2ea97f66
autotest: add test for DO_VTOL_TRANSITION
2023-09-13 21:25:14 +10:00
Peter Barker
1036244c65
autotest: tidy and re-enable QAUTOTUNE test
...
.... this one seems to have been accidentally removed at some stage...
2023-09-13 19:43:21 +10:00
Peter Barker
f2f7f7de3b
autotest: add test for Plane MAV_CMD_DO_VTOL_TRANSITION mission item
2023-09-13 11:48:27 +10:00
Randy Mackay
0b04b265de
autotest: quadplane AirMode test disables mag check
2023-08-30 11:17:42 +09:00
Peter Barker
624d8f3964
autotest: add test for DO_ENGINE_CONTROL
2023-08-29 11:48:24 +10:00
Peter Barker
7e7f9ddf50
autotest: correct idle throttle checking
...
it was only 350 because we were running the starter all the time...
2023-08-26 21:21:49 +10:00
Peter Barker
395f829f76
autotest: factor out a setup_ICEngine_vehicle method for quadplane
2023-08-26 16:15:39 +10:00
Peter Barker
dc90fd57e8
autotest: add timeout parameter to takeoff method
2023-08-10 19:51:52 +10:00
Peter Barker
5f21b2f7c9
autotest: add GUIDEDToAUTO quadplane test
2023-08-10 19:51:52 +10:00
Peter Barker
46e5e42d25
autotest: add support for quadplane takeoff in auto
2023-08-10 19:51:52 +10:00
Peter Barker
c7fe8f7c33
autotest: add test for transitioning with disabled airspeed sensor
2023-02-28 21:43:09 +11:00
Andrew Tridgell
4c6648fada
autotest: added VTOLQuicktune test
...
ensure this script doesn't break
2023-02-24 09:43:41 -08:00
Pierre Kancir
f8187984a7
Tools: fix flake8 checks
2023-02-04 12:41:06 +11:00
Peter Barker
2b2bd2b85b
autotest: add a test for VTOL land spiral code
2023-01-15 21:32:27 +11:00
Peter Barker
ea167d5bd8
autotest: create fresh fly_mission suitable for other missions
...
the fly_mission in quadplane was very-much Dalby-specific
2023-01-15 10:16:17 +11:00
Peter Barker
7d38164176
autotest: add simple test for LoiterAltQLand
2022-12-31 10:58:19 +11:00
Peter Barker
b6f1891f9f
autotest: add test for loiter-to-alt
2022-12-13 11:41:23 +11:00
Peter Barker
49ec94af1b
autotest: add test for manual throttle control for ICEngine
2022-11-08 08:59:56 +11:00
Andrew Tridgell
ee003d7eee
autotest: fixed ICE tests to use an IC engine
...
we need to use quadplane-ice or plane-ice to get a simulated IC engine
the test was just using an electric motor
2022-10-16 06:25:59 +11:00
Peter Barker
ba6cf1a42b
autotest: remove disabled LogUpload test
...
This has been unused for a long time, and is getting in the way of reforms. Its position as a test rather than as a part of a framework was always going to cause oddities, particularly after we split the Copter tests into several chunks.
2022-09-11 20:45:13 +10:00
m
3fdcf5f940
autotest: test landed state of copter during takeoff in auto mode
2022-09-10 21:53:23 +10:00
Peter Barker
80c36ecc97
autotest: use reflection to collect test details
...
We had a pattern emerging of using the test name as the method name to contain the actual test. We also tended to duplicate the docstrings in the test description - or omit the docstring.
This uses reflection to retrieve both the test name and the description, meaning less duplication of this information and enforcing having docstrings on the test methods.
2022-09-10 18:27:27 +10:00
Peter Barker
f2ceb6b0a9
autotest: add a test for SIM_SHIP_ENABLE
...
trivial takeoff test in qloiter.
Will break with the default ship speed of 3.
2022-09-02 14:24:51 +10:00
Peter Barker
8360a3c247
autotest: force-disarm quadplane after ICEngine test
...
ICE provides forward thrust, which can make us think we're flying
2022-08-17 09:58:11 +10:00
Peter Barker
00d3af6fc5
autotest: handle terrain requests internally to autotest
...
We will cache all required SRTM data within the autotest branch
2022-08-16 11:12:44 +10:00
Peter Barker
9f58e7df31
autotest: add test for quadplane booting in auto
2022-08-16 07:24:22 +10:00
Peter Barker
46dacd3b61
autotest: add tests for disallowing flying mid-air
2022-08-12 09:44:08 +10:00
Peter Barker
5ee8f99e7b
autotest: adjust for terrain arming requirements
...
Lots of tests really did need terrain stuff but weren't able to get it
2022-08-09 14:31:14 +10:00
Peter Barker
215842fe82
Tools: add tests for ICE Planes
2022-07-01 19:33:51 +10:00
Andrew Tridgell
985e24275a
autotest: don't try to arm in RTL mode for quadplanes
2022-05-18 06:43:16 +10:00
Andrew Tridgell
151f17d563
autotest: reset mission on takeoff for quadplanes
2022-05-15 21:17:50 +10:00
Andrew Tridgell
6fcf85edb8
autotest: more changes for plane disarm disallow
2022-03-09 17:13:45 +11:00
Andrew Tridgell
e6bbd7f548
autotest: adjust for arming change in plane
...
expect disarm to fail when airmode on
2022-03-09 17:13:45 +11:00
Peter Barker
376d7ade50
autotest: use assert_receive_message to remove redundant code
2022-02-15 11:06:10 +11:00
Gone4Dirt
a11634e1e8
Tools: autotest: quadplane: add weathervane test
2022-02-08 10:38:16 +11:00
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