ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem is

<param name="use_sim_time" value="true"/>

This means the uses simulation time published to /clock topic by e. g. Gazebo or a rosbag started by rosbag play --clock file.bag.

See this http://wiki.ros.org/Clock ans this http://answers.ros.org/question/193820/time-stamp-ros_info/?comment=193890#comment-193890 for info about clock and simulation time

This means your node will not spin before any other node (gazebo/rosbag) is started and publishes to /clock topic