mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:08:52 +08:00
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:
committed by
Daniel Agar
parent
b40323b8d8
commit
86ae744266
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user