Andrew Tridgell
4ab0919d63
autotest: run aerobatics at slower speedup
...
need more cycles for lua
2022-11-11 08:25:33 +11:00
Andrew Tridgell
0abeca15e2
autotest: added scripting aerobatics test
2022-11-10 13:53:15 +11:00
Peter Barker
bacbac798c
autotest: add tests for embedded defaults parsing
2022-10-13 14:38:30 +11:00
Andrew Tridgell
14be09d72c
autotest: don't try and fly the ICE aircraft
...
they would need ignition control
2022-10-07 07:53:50 +11:00
Andrew Tridgell
9dd2301198
autotest: move do_aux_function to common
2022-09-30 07:44:42 +10:00
Peter Barker
3bf76dbb64
autotest: augment Plane following test to ensure we terrain follow
2022-09-27 21:32:42 +10:00
Paul Riseborough
221dc5c4d1
Tools: Use a more typical wind speed for the PitotBlockage autotest
2022-09-26 14:17:53 +10:00
Paul Riseborough
94f791c13e
Tolls/autotest: Fix Flake8 style check fails
2022-09-26 14:17:53 +10:00
Paul Riseborough
b2e9d01a2e
Tools/autotest: fail pitot tube at start of takeoff
2022-09-26 14:17:53 +10:00
Paul Riseborough
2ee8a34f70
Tools/autotest: rework arming and takeoff mode change order
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough
235cbbde1c
Tools/autotest: Use clearer method of setting parameters
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-09-26 14:17:53 +10:00
Paul Riseborough
5a1f02bbf2
Tools: Python coding style fixes
2022-09-26 14:17:53 +10:00
Paul Riseborough
3bf3a0348a
Tools: Add partial unblockage to pitot blockage test
2022-09-26 14:17:53 +10:00
Paul Riseborough
d9321d09b3
Tools: Add autotest for pitot tube blockage handling
2022-09-26 14:17:53 +10: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
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
Michael du Breuil
80d7bf9b11
Tools: Update autotest to accomodate accel cal changes
2022-09-09 08:52:14 +10:00
Peter Barker
7571ef67af
autotest: fix airspeed driver test mismatch at end of mission
...
ground interactions cause fluctuations
2022-08-29 11:02:14 +10:00
Peter Barker
3022299e71
autotest: disable SpeedToFly McReady tests
...
# mcReady tests don't work ATM, so just return early:
2022-08-29 08:23:41 +10:00
Peter Barker
2170c86b9c
autotest: stop vehicle running into terrain in MAV_CMD_NAV_LOITER_TURNS
2022-08-19 17:05:22 +10:00
Iampete1
e7cbf266b3
Tools: autotest: plane: test allow mode change after fence breach option
2022-08-17 17:21:30 +10:00
Iampete1
83b544dd0c
Tools: autotest: plane: wait at least 10 seconds before retriggering fence
2022-08-17 17:21:30 +10:00
Peter Barker
d2d5aada09
autotest: re-enable terrain loiter check
...
We now have reliable terrain in autotest
2022-08-16 21:12:37 +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
46dacd3b61
autotest: add tests for disallowing flying mid-air
2022-08-12 09:44:08 +10:00
Peter Barker
fecf7c2e0c
autotest: augment Plane TerrainMission to check we *do* follow the terrain
2022-08-09 14:31:14 +10:00
Peter Barker
82bc2a7d85
autotest: adjust Plane EKF check for new configured-backend check
2022-07-28 15:53:13 +10:00
Peter Barker
3c700bdf44
autotest: disable terrain during frsky passthrough test
...
If terrain isn't available then our expected statustext gets blatted with one which RCTelemetry library emits
2022-07-21 14:31:32 +10:00
Peter Barker
515b79a6ca
autotest: remove un-needed calls to drain_mav_unparsed
...
these calls are generally bad now, given we have context_collect things going on which always want to see messages coming in
2022-07-20 15:17:25 +10:00
Peter Barker
acd9fb9c0a
autotest: pause/unpause SITL while draining mav
...
If Python can't keep up with the message volume coming from the autopilot we never manage to drain all messages from the vehicle.
So try pausing/unpausing the simulation so we can drain the link...
AT-1968.6: AP: PreArm: Radio failsafe on
AT-1969.9: AP: PreArm: Radio failsafe on
AT-1971.2: AP: PreArm: Radio failsafe on
AT-1972.4: AP: PreArm: Radio failsafe on
AT-1973.7: AP: PreArm: Radio failsafe on
AT-1974.9: AP: PreArm: Radio failsafe on
AT-1975.3: Drained 2000283 messages from mav (7218.974791/s)
AT-1975.3: Exception caught: Traceback (most recent call last):
File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 699
8, in run_one_test_attempt
self.context_pop()
File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 499
3, in context_pop
self.set_parameters(dead_parameters_dict, add_to_context=False)
2022-07-19 11:00:27 +10:00
Peter Barker
e77d0ce1a4
autotest: rewrite speedtofly test using wait_airspeed
2022-07-07 21:29:43 +10:00
Ryan Beall
592201d831
CI fix Soaring channel 3 check timeout
2022-06-30 20:06:33 +10:00
Ryan Beall
5a26635aca
CI fix Climb before turn Timeout again 2
2022-06-30 20:06:33 +10:00
Ryan Beall
69ffac890f
CI fix Climb before turn Timeout again
2022-06-30 20:06:33 +10:00
Ryan Beall
2b9d116274
CI fix Climb before turn Timeout
2022-06-30 20:06:33 +10:00
Ryan Beall
ae6295e11c
CI fix RTL Timeout
2022-06-30 20:06:33 +10:00
Peter Barker
7120d4f750
autotest: fix race condition in need-ekf-to-arm check
...
At extreme speedups we may not detect the reboot in the Python before the autopilot is ready to arm...
2022-06-16 14:53:21 +10:00
Peter Barker
b18c597f0b
autotest: fix race condition in arduplane.py fly_mission
...
We can lose the final message when we get_sim_time and wait_heartbeats and similar
2022-06-15 09:11:51 +10:00
Peter Barker
1b22de0dd9
autotest: fix race condition in deepstall tests
2022-06-14 08:16:03 +10:00
Peter Barker
fc2c3604e8
autotest: change plane default speedup time to 100
2022-06-12 15:56:53 +10:00
Peter Barker
2e0653ef71
autotest: be more lenient with terrain report fetching
2022-06-12 15:56:53 +10:00
Peter Barker
09ab90b8be
autotest: fix flapping AirspeedDrivers test
2022-06-12 15:56:53 +10:00
Pierre Kancir
4e2e4fa4d4
Tools: autotest: remove useless shebang
2022-06-08 08:16:42 +09:00
Peter Barker
069fdfae60
autotest: test SITL airspeed sensor backend
2022-05-25 17:52:44 +10:00
Iampete1
d5e282c5a1
Tools: allow FBWB alt control option in LOITER
2022-05-22 12:09:43 +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
d6504bcaa8
autotest: remove hack to get dual-airspeed-autocal passing
2022-05-18 18:06:18 +10:00
Andrew Tridgell
895c57562c
autotest: adjust DO_CHANGE_SPEED test for EAS2TAS corrections
2022-05-17 19:34:32 +10:00
Peter Barker
cebb57266d
autotest: calibrate two airspeed sensors in-flight
2022-05-16 09:50:52 +10:00
Peter Barker
b8407a4bec
autotest: adjust current wp reset
2022-05-15 21:17:50 +10:00