ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
use
rosbag play --clock your_bag_file.bag
to have it publishing to /clock
topic...
2 | No.2 Revision |
First, as mentioned, set /use_sim_time to true.
Then use
rosbag play --clock your_bag_file.bag
to have it publishing to /clock
topic...
All nodes started later will believe it is "old rosbag time", ros::Time::now() etc. in your nodes will return rosbag time....