Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like your launch file doesn't include an instance of gazebo; only the spawner, which expects to connect to gazebo.

If you want to solve this on your own, compare your launch file to an existing launch file that behaves the way you expect, with a different robot.

If you want more help, please edit your question to include the launch file that you've written.

It looks like your launch file doesn't include an instance of gazebo; only the spawner, which expects to connect to gazebo.

If you want to solve this on your own, compare your launch file to an existing launch file that behaves the way you expect, with a different robot.

If you want more help, please edit your question to include the launch file that you've written.

EDIT

Your launch file does not start gazebo.

You can start gazebo by adding the following include to your launch file:

<include file="$(find gazebo_ros)/launch/empty_world.launch">
  <arg name="use_sim_time" value="true"/>
  <arg name="debug" value="false"/>
</include>