Skip to content
Snippets Groups Projects
Commit 3f67ddbd authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

ROS mission_test.py send mission before starting

 - update to latest sitl_gazebo
parent 63deb40a
No related branches found
No related tags found
No related merge requests found
......@@ -460,9 +460,6 @@ class MavrosMissionTest(unittest.TestCase):
else:
raise IOError('unknown mission file extension', mission_ext)
# delay starting the mission
self.wait_for_topics(30)
rospy.loginfo("send mission")
result = False
try:
......@@ -474,6 +471,9 @@ class MavrosMissionTest(unittest.TestCase):
result,
"({0}) mission could not be transfered".format(self.mission_name))
# delay starting the mission
self.wait_for_topics(30)
# make sure the simulation is ready to start the mission
self.wait_on_landed_state(ExtendedState.LANDED_STATE_ON_GROUND, 10, -1)
......
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