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
Bob Long
b908f1cb9c
autotest: update broken reason for plane-tailsitter
2024-12-19 22:11:00 +11:00
Bob Long
058f66fbe6
autotest: plane: fix flyeachframe param loading
...
This was previously fixed in copter
2024-12-19 22:11:00 +11:00
George Zogopoulos
7e3ae6c6e6
autotest: Enabled/edited old test and added new test on home alt reset
2024-12-14 15:46:14 +11:00
Andrew Tridgell
9dc6e1cbea
autotest: update plane switch fence test
...
the FENCE_AUTOENABLE option should be honoured even with a fence
switch in the disable position
2024-12-11 18:58:00 +11:00
Andrew Tridgell
4c40d66d7d
autotest: fixed test suite for FENCE_AUTOENABLE=2
2024-12-11 18:58:00 +11:00
Andrew Tridgell
42ad2a7911
autotest: added non-compass takeoff test
2024-12-11 08:44:15 +11:00
Henry Wurzburg
051c2dcd35
Tools: add Plane autoland applet
2024-12-10 13:18:41 +11:00
George Zogopoulos
768b2eabc4
autotest: Created test for unsuccessful takeoff level off
2024-12-04 18:07:30 +11:00
George Zogopoulos
646a1a54c2
autotest: Added TECS test for constantly changing home alt
2024-11-27 19:35:03 +11:00
Peter Barker
7b64263562
Tools: add ability to simulate more than 2 GPSs
2024-11-20 15:07:45 +11:00
George Zogopoulos
19bce3b171
autotest: added test for TKOFF_THR_IDLE
2024-11-13 19:32:00 +11:00
Peter Barker
e40ae8e649
autotest: install terrain handlers in TerrainLoiter test
...
needs terrain, was passing because previous tests were providing hte autopilot with the data
2024-10-02 18:10:45 +10:00
Peter Barker
653aff7f8a
Tools: split Plane tests into tests1a and tests1b
2024-10-02 18:10:45 +10:00
George Zogopoulos
36991de2b8
autotest: Improved takeoff tests
...
- Also added a ground rolling takeoff test.
- Rebased conflict resolution originating from https://github.com/ArduPilot/ardupilot/pull/28030
2024-10-02 17:09:07 +10:00
Tarik
5ea787a46d
Autotest: Modify look_for_wiggle to test for individual servo movements
2024-10-02 17:05:45 +10:00
Peter Barker
b73bef5b13
autotest: correct frame in reposition command
2024-10-02 12:10:16 +10:00
Andrew Tridgell
6bf69eb7dc
autotest: fixed MAV_CMD_GUIDED_CHANGE_ALTITUDE
...
need terrain handlers installed to support terrain targets
2024-10-01 07:15:44 +10: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
ecec9c47b1
autotest: force use of airspeed in GliderPullup
2024-09-29 11:06:05 +10:00
Peter Barker
beb4226740
Plane: add test for MAV_CMD_NAV_LOITER_TO_ALT
2024-09-26 20:23:15 +10:00
timtuxworth
fdbbd320a4
Tools: test use Location::AltFrame for guided_state.target_alt_frame
2024-09-24 22:51:02 +10:00
Peter Barker
d6386cc1fd
autotest: add test we don't die with bad RC channel for roll
2024-09-10 22:00:50 +10:00
Andrew Tridgell
d27d34987c
autotest: added GliderPullup test
2024-09-10 10:15:34 +10:00
Peter Barker
7280ff3ffd
autotest: fix flapping TakeoffAuto3 test
2024-09-07 09:40:43 +10:00
Peter Barker
ab77509551
Tools: create and use WaitAndMaintainServoChannelValue
...
allows for checking for "maintain" on servo channel values
2024-09-07 09:40:43 +10:00
Peter Barker
d74050c5e3
autotest: tweak takeoff test names to avoid poor summary output
2024-09-07 00:14:21 +10:00
Andrii Fil
d802b0ec9a
Tools: support MAV_CMD_EXTERNAL_WIND_ESTIMATE
2024-09-04 10:14:45 +10:00
Peter Barker
6354a8b912
autotest: add test for forced arm/disarm
2024-08-02 16:29:13 +10:00
Peter Barker
8f8e796e00
autotest: add a disabled test for CRUISE maintaining height when home alt changed
2024-08-01 09:53:41 +10:00
George Zogopoulos
548b871168
autotest: Added airspeedless takeoff test with stock parameters
2024-07-31 18:23:40 +10:00
Henry Wurzburg
9311344f4b
Tools: correct prearm message
2024-07-31 17:01:07 +10:00
Peter Barker
602f5bc61c
autotest: correct applet-testing scripts to use contexts for scripts
...
means we don't leave the script lying around in case of test failure
2024-07-30 11:39:46 +10:00
George Zogopoulos
b5c91a1690
autotest: Converted parameter TKOFF_MODE to TKOFF_OPTIONS
2024-07-29 15:50:32 +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
Peter Barker
317c59c709
autotest: tidy various ArduPlane autotests
...
autotest: tidy Plane TerrainRally test
autotest: tidy Plane TestFlaps test
autotest: tidy Plane ThrottleFailsafe test
autotest: tidy Plane GripperMission test
autotest: tidy Plane FenceStatic test
autotest: tidy Plane FenceRTL tests
autotest: tidy FenceRetRally test
autotest: tidy Plane ahrs2 test
autotest: tidy Plane RangeFinder test
autotest: tidy Plane ADSB test
autotest: tidy Plane LOITER test
autotest: tidy Plane EKFLaneswitch test
autotest: tidy Plane FenceAltCeilFloor test
autotest: tidy Plane FenceMinAltAutoEnable
autotest: tidy Plane FenceMinAltEnableAutoland
autotest: tidy Plane FenceMinAltAutoEnableAbort
autotest: tidy Plane FenceCircleExclusionAutoEnable
autotest: tidy self.homeloc out of MainFlight
2024-07-28 11:53:44 +10:00
Andy Piper
0b6a1f4fe7
autotest: test for circle exclusion fence using AUTOENABLE=2
2024-07-24 08:24:06 +10:00
Andy Piper
e30dc2c536
autotest: fix fence autotests
...
add Plane.FenceMinAltEnableAutoland
test that vehicle can be landed manually after descending below fence floor
2024-07-24 08:24:06 +10:00
Andy Piper
c216536a94
autotest: test aborted landing with fence correctly
2024-07-24 08:24:06 +10:00
Andy Piper
cedccdb8fe
autotest: add test for auto-disabling min alt fence breaches on disarming
...
clean-up fence manipulation functions and add test for auto-enablement on copter
update tests to have some FENCE_ENABLE tests
add avoidance minimum and maximum altitude fence
add fence switch test while flying
add FenceAutoEnableDisableSwitch for auto mode 2
add more scenarios for plane fence auto-enable
validate fence rc switch behaviour
check fence autoenable by taking off in guided mode
more FENCE_AUTOENABLE tests
add FenceEnableDisableAux and FenceMinAltAutoEnableAbort
2024-07-24 08:24:06 +10:00
Peter Barker
8dcd3986c7
autotest: correct uploading of exclusion circles
2024-07-17 08:33:44 +10:00
Peter Barker
1de60a31b0
autotest: rename do_reposition to send_do_reposition
2024-07-17 08:33:44 +10:00
Peter Barker
eb539f2c4a
autotest: allow message hooks to be instances of a MessageHook class
...
allows state to be encapsulated within the object rather than simply in the same scope / closure of the method being called.
Will allow easier re-use of these blocks
2024-07-02 11:05:40 +10:00
Peter Barker
bac008d51c
autotest: tidy pre_arm_checks
2024-07-02 09:56:40 +10:00
Peter Barker
a77a0c22a7
autotest: add test for logged script statistics
2024-06-25 11:07:07 +10:00
Peter Barker
47625e693e
autotest: test guided attitude control with no GPS
2024-06-11 14:17:10 +10:00
Paul Riseborough
5c76e77c11
autotest: Reduce time threshold used in plane deadreckoning test
2024-06-09 14:25:02 +10:00
Andrew Tridgell
09623f46e8
autotest: enable LOG_REPLAY in deadreckoning test
2024-06-09 14:25:02 +10:00
Paul Riseborough
b17e189473
Tools: update AHRS_OPTIONS for dead reckoning test
2024-06-09 14:25:02 +10:00
Paul Riseborough
19f6b2d6d6
Tools: relax req accuracy for plane dead reckoning when not using airspeed
2024-06-09 14:25:02 +10:00