Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Launch file DEM crash issue

Can anyone please help me understand why my DEM causes gazebo to instantly crash?

The world_name argument causes gazebo to fail immediately it starts up. Commenting it out allows gazebo to start successfully.

The following is my code:

<launch>
  <include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" value="worlds/r2d2.world"/>
  </include>

    <node name="r2d2" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen"
    args="-file $(find r2d2_description)/urdf/r2d2.urdf -urdf -x 0 -y 0 -z 0 -model r2d2"/>

</launch>