Skip to content
Snippets Groups Projects
Commit 40160c44 authored by Paul Riseborough's avatar Paul Riseborough Committed by Lorenz Meier
Browse files

integrationtests: add wait time before arming to allow checks to pass

parent 519e9033
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,10 @@ class MavrosMissionTest(unittest.TestCase):
(self.mission_name, lat, lon, alt, xy_radius, z_radius, timeout, index, self.last_pos_d, self.last_alt_d, vtol_state_string)))
def run_mission(self):
"""switch mode: auto and arm"""
# Hack to wait until vehicle is ready
# TODO better integration with pre-flight status reporting
time.sleep(5)
"""switch mode: auto and arm"""
self._srv_cmd_long(False, 176, False,
# custom, auto, mission
1, 4, 4, 0, 0, 0, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment