CI: allow Gazebo to restart on crash (#8817)

* add respawn_gazebo arg to be used with empty_world.launch
* catch rospy sleep method's exceptions
* fix copy-paste mistake in land state failure message
This commit is contained in:
Anthony Lamping
2018-02-06 15:11:09 -05:00
committed by Daniel Agar
parent b40323b8d8
commit 86ae744266
11 changed files with 60 additions and 13 deletions
@@ -252,7 +252,10 @@ class MavrosMissionTest(MavrosTestCommon):
format(self.mission_wp.current_seq, xy_radius, z_radius,
pos_xy_d, pos_z_d))
rate.sleep()
try:
rate.sleep()
except rospy.ROSException as e:
self.fail(e)
self.assertTrue(
reached,