Ask Your Question

Revision history [back]

It seems you are missing to load the robot description param, and then call the joint and state publishers.

    <!-- Convert xacro to urdf and set robot_description parameter in the parameter server -->
<param  name="robot_description"
    command="$(find xacro)/xacro --inorder $(find rob1500_description)/urdf/$(arg robot_model).xacro" />

<!-- Run joint state publisher (Gets robot_description from parameter server)-->
<node pkg="joint_state_publisher"
    type="joint_state_publisher"
    name="joint_state_publisher" >
    <param name="rate" value="50" />
</node>

<!-- Run state publisher (Gets robot_description from parameter server)-->
<node pkg="robot_state_publisher"
    type="robot_state_publisher"
    name="robot_state_publisher" >
    <param name="publish_frequency" value="25" />
</node>

Once you have set/launch these three things, you will be able to launch the gazebo (world and model) and the controller_spawner

hope it helps!