ardupilot/Tools/autotest
Peter Barker e38adc7d14 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
..
aircraft Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
ArduCopter_Tests autotest: add test for AUTO_LAND_TO_BRAKE 2022-07-10 20:59:52 +10:00
ArduPlane_Tests Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
ArduRover_Tests autotest: fixed GripperMission test in rover 2022-01-12 07:54:46 +11:00
ArduSub_Tests Tools: update path for sub test missions files 2020-04-09 09:01:03 +10:00
default_params Tools: autotest default params for sub use MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Generic_Missions autotest: add load_generic_mission 2021-09-26 17:35:46 +10:00
jsb_sim Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
logger_metadata Tools: logger_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
models Tools: Update Callisto Model 2022-07-15 09:59:44 +09:00
param_metadata Tools: rstemit.py: Change Range to be clearer meaning 2022-07-12 12:58:39 +10:00
pysim autotest: add support for building alternate binaries 2022-07-19 09:09:05 +10:00
template Tools: Implement better Scrimmage support 2020-04-28 11:09:51 +10:00
web Autotest: fix html and use class on CSS 2020-10-24 10:30:09 +11:00
web-firmware Tools: fixed typo 2022-07-06 16:54:48 +10:00
win_sitl Tools: Change Cygwin default install location to Cygwin64 2021-01-03 09:49:05 +11:00
XPlane autotest: An X-Plane soaring mission file 2017-04-08 20:01:33 +10:00
__init__.py Tools: update python coding style 2016-09-01 13:05:11 +10:00
antennatracker.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
arducopter.py autotest: adjust PAUSE_CONTINUE_GUIDED to use globalframe for navigation 2022-07-19 09:24:45 +10:00
arduplane.py autotest: rewrite speedtofly test using wait_airspeed 2022-07-07 21:29:43 +10:00
ardusub.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
autotest.py autotest: add support for building alternate binaries 2022-07-19 09:09:05 +10:00
balancebot.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
bisect-helper.py Tools: make and declare bisect-helper.py flake8-compliant 2021-04-01 19:11:50 +11:00
build-with-disabled-features.py Tools: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
check_autotest_speedup.py Tools: add a tool to help determine best speedup for autotest 2021-04-01 11:27:17 +11:00
common.py autotest: pause/unpause SITL while draining mav 2022-07-19 11:00:27 +10:00
examples.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
fakepos.py Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
fg_plane_view.bat Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
fg_plane_view.sh autotest: remove doubled up disable-anti-alias-hud 2020-07-04 09:25:42 +10:00
fg_quad_view.bat Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
fg_quad_view.sh autotest: remove doubled up disable-anti-alias-hud 2020-07-04 09:25:42 +10:00
helicopter.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
junit.xml auto est: modular tests and unit testing with Junit.xml output for jenkins 2012-07-05 23:48:50 -07:00
locations.txt Tools: move Karuizawa location 2022-07-12 21:29:24 +09:00
quadplane.py Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
README autotest: remove APM references 2021-09-18 10:45:39 -05:00
rover.py autotest: add test for changing modes by mode number 2022-07-12 08:51:21 +10:00
run_in_terminal_window.sh Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh 2022-05-02 11:28:12 +10:00
sailboat.py Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
sim_vehicle.py autotest: add support for building alternate binaries 2022-07-19 09:09:05 +10:00
swarminit.txt Autotest: Create swarminit.txt 2019-01-18 10:16:18 +11:00
test_build_options.py Tools: add --no-run-with-defaults option to test-build-options script 2022-06-16 17:20:06 +10:00

This is an automated test suite for ArduPilot