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
+2
View File
@@ -5,6 +5,7 @@
<arg name="headless" default="true"/>
<arg name="gui" default="false"/>
<arg name="est" default="ekf2"/>
<arg name="respawn_gazebo" default="true"/>
<include file="$(find px4)/launch/mavros_posix_sitl.launch">
<arg name="ns" value="$(arg ns)"/>
@@ -12,6 +13,7 @@
<arg name="gui" value="$(arg gui)"/>
<arg name="vehicle" value="standard_vtol"/>
<arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
</include>
<group ns="$(arg ns)">