forked from Archive/PX4-Autopilot
integrationtests: add wait time before arming to allow checks to pass
This commit is contained in:
parent
519e903347
commit
40160c4488
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue