How to publish topic with old rosbag time? [closed]

asked 2014-11-11 09:47:44 -0600

somebodyus gravatar image

I first set /use_sim_time to true. Then play the ros bag file. My code subscribes the point cloud in the bag. After some processing, my code publishes the processed point cloud. However, the rviz can only display the point cloud in the bag. It can't display the processed point cloud. I guess the processed point cloud use the current time and the rviz use the old time, so the processed point cloud can not be displayed. So, how to publish the processed point cloud using the old bag time?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by dornhege
close date 2014-11-11 09:54:55.293836