Commit Graph

44 Commits

Author SHA1 Message Date
Bob Long
3982d576eb autotest: plane: enable ICE frames in FlyEachFrame
Now that starter control is an aux channel, engine commands are no
longer blocked by default, so it's easy to enable ICE frames by adding
an engine start command to the beginning of the missions.
2024-12-19 22:11:00 +11:00
George Zogopoulos
768b2eabc4 autotest: Created test for unsuccessful takeoff level off 2024-12-04 18:07:30 +11:00
Andrew Tridgell
f48b0375d8 autotest: improved GliderPullup test
use LOITER_TO_ALT and a landing, allowing for a much better test of
the full glider pullup mission
2024-10-01 07:15:44 +10:00
Andrew Tridgell
d27d34987c autotest: added GliderPullup test 2024-09-10 10:15:34 +10:00
George Zogopoulos
1e6e291b52 autotest: New tests
Autotests for takeoffs have been added for Plane, covering AUTO and
TAKEOFF mode takeoffs.

An auxiliary `set_servo` method has been added to `vehicle_test_suite.py`.
2024-07-29 15:50:32 +10:00
Andrew Tridgell
6a67830556 autotest: added quadplane ShipLanding test 2024-03-06 09:39:51 +11:00
Andrew Tridgell
59ec0a6b56 Tools: added test for InertialLabs EAHRS 2023-12-17 09:47:30 +11:00
Ryan Friedman
bcd11701fa Tools: Add MicroStrain7 support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Peter Barker
67b9a50153 autotest: add test for Plane do-go-around 2023-09-27 17:37:55 +10:00
Ryan Friedman
74750ca952 Tools: Rename MicroStrain to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-29 10:31:44 +10:00
Peter Barker
5f21b2f7c9 autotest: add GUIDEDToAUTO quadplane test 2023-08-10 19:51:52 +10:00
Ryan Friedman
4f08451ade Tools: Rename LORD to MicroStrain
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-07 19:16:03 +10:00
Shashwat Ganesh
dba76d2c8b Tools: plane: test gcs failsafe: FBWA and Parachute 2023-02-26 09:56:47 +11:00
Shashwat Ganesh
ea206670c4 Tools: plane: test gcs failsafe: RTL 2023-02-26 09:56:47 +11:00
Peter Barker
2b2bd2b85b autotest: add a test for VTOL land spiral code 2023-01-15 21:32:27 +11:00
Peter Barker
b6f1891f9f autotest: add test for loiter-to-alt 2022-12-13 11:41:23 +11:00
Peter Barker
9f58e7df31 autotest: add test for quadplane booting in auto 2022-08-16 07:24:22 +10:00
Andrew Tridgell
1d34ac4e05 Tools: adjust Dalby mission for VTOL_LAND distance 2022-08-02 07:49:34 +10:00
Peter Barker
215842fe82 Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
Peter Barker
24771ab2a4 autotest: fix DO_CHANGE_SPEED autotest
Recent airspeed fixes means we need to give the vehicle more time to achieve the initial airspeed
2022-05-20 09:56:31 +10:00
Peter Barker
b659360d64 autotest: test DO_CHANGE_SPEED mission item for Plane 2022-05-05 10:48:35 +10:00
Peter Barker
62efb470f6 autotest: change fly_terrain_mission test name 2022-02-25 09:28:04 +11:00
Samuel Tabor
71596c2c9f autotest: Add a test for GLIDE_SLOPE_THR 2021-12-27 11:27:52 +11:00
Samuel Tabor
75ee4b07fe autotest: Add test for soaring speed-to-fly feature 2021-12-16 07:12:24 +11:00
Davis Schenkenberger
3e748d77c9 Tools: autotest: add test for LORD EAHRS 2021-10-17 08:55:03 +11:00
Samuel Tabor
3a185e7533 autotest: Add plane test for landing with barometer drift. 2021-08-19 17:59:33 +10:00
Peter Barker
d3f90bde7f autotest: add FlyEachFrame test for Plane 2021-06-21 14:13:18 +10:00
James O'Shannessy
0e656c1504 AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present 2021-05-05 10:59:10 +10:00
Iampete1
aa72b7da46 Tools: autotest: Plane: add loiter terrain following test 2021-05-02 18:51:27 +10:00
Stavros Korokithakis
29043d62e9 Add FLIGHT_OPTION to climb before RTL 2021-03-16 11:58:47 +11:00
Peter Barker
bdeadce95b autotest: improve deadreckoning test
autotest: use location_offset rather than coordinates in Deadreckoning test
2021-03-05 21:34:58 +11:00
James O'Shannessy
bcc0da9c47 AutoTest: Adds additional autotests to capture mode change while breached
AutoTest: Adds test for fence breach switching to guided mode when no fence return point is present. In upstream, this results in a vehicle fly-away.
2021-03-05 14:52:46 +11:00
James O'Shannessy
76a2a76b54 AutotTest: Adds autotests for Plane to test RetRally flag added to AC_Fence 2021-03-05 14:52:46 +11:00
James O'Shannessy
215901be30 Autotest: Correct the logic for fence based autotest functions
Adds corrections to enabling fence using aux function.
Correctly test fences statically. Only uploaded fences can be checked using a fence file, so we check those first. Then we add steps to check tin can, max and minm all set the fence as present, as expected.
Plane will support MAV_PROTOCOL_CAPABILITY_MISSION_FENCE, so we assert that it does support it.
To test ceiling and floor, leverage some existing functions for takeoff, change altitude and land. Check for respective breach.
Add a floor breach check to copter.
2021-03-05 14:52:46 +11:00
James O'Shannessy
1a3e168ced Autotest: Fence is present, but test looking for not present
Autotest: Remove ties to mavlink FENCE_ACTION

Autotest: Add ArduPlane autotest to test ceiling and floor

Adds a test to ensure the vehicle reverts to RTL when breaching a ceiling or floor.

Autotest: Progress the test once we reach takeoff complete and fence enable

Autotest: Use RC_OPTION for Aux Switch functionality

Autotest: Enable fence last
2021-03-05 14:52:46 +11:00
Peter Barker
ca49f62b6d autotest: add test for Plane's RTL_CLIMB_MIN parameter 2021-02-13 19:34:52 +11:00
Andrew Tridgell
b5476c6e5c autotest: added ExternalAHRS test 2021-01-05 21:13:12 +11:00
Peter Barker
69ef0937f4 autotest: add trivial test just to cover the Airspeed_DLVR code 2020-12-22 23:07:24 +11:00
Peter Barker
67b71e2b94 autotest: add test for Plane dead-reckoning support 2020-08-21 18:16:40 +10:00
Samuel Tabor
ed14ab84ce autotest: Add test for terrain following mission. 2020-07-07 11:46:32 +10:00
Samuel Tabor
e30f0a9173 autotest: Move soaring test into plane. 2020-04-19 11:09:16 +10:00
Peter Barker
899b98b2f9 Plane: add test for loading/restoring large missions 2020-04-15 16:24:40 +10:00
Pierre Kancir
07435cc541 Tools: correct path for soaring mission 2020-04-09 09:01:03 +10:00
Pierre Kancir
bcd15bc6e4 Tools: update path for plane test missions files 2020-04-09 09:01:03 +10:00