rosbag replay error (use sim time problem)
Hi,
I am very new to ROS. I am trying to replay a recorded bag file containing point cloud2 topic with map as the fixed frame and my lidar unit as the reference frame in simulation time but I am receiving a status error under the pointcloud2 mentioning
Transform[sender=unknown publisher] message removed because it is too old (frame=[/os1_lidar ], with an ongoing timestamp which is different from both of my ros time and wall time. my wall time and ros time ar running aligned.
I have tried to replay the pointcloud2 topic with both in false and true sim_time it does not work and coming up with the same error. However, when I am putting base_link(lidar unit) as both the reference and the fixed frame it's replaying the pointcloud2 topic. But I need to visualize it with map as the fixed frame and base_link(lidar) as the reference frame.
May I know whether I can upload any picture regarding my problem.
Thank you for your time.
have you checked that page?
Hi,
Thank you very much for your kind reply. I followed the site.Here is my launch file code.
<launch> <node pkg="rviz" type="rviz" name="rviz" args="-d $(find lego_loam)/launch/test.rviz"/>
But I am still getting the same error. I set up the simulation time as true following the site.
In my RVIZ when I am trying to add the pointcloud2 topic from a recorded bag file with map as the fixed frame. it's saying
"Transform [sender=unknoiwn publisher] Message removed because it is too old"
my errors are like as follow while running the "rqt_tf_tree" in the terminal-
Warning: TF_OLD_DATA ignoring data from the past for frame laser_odom at time 1.55963e+09 according to authority /featureAssociation Possible reasons are listed at http://wiki.ros.org/tf/Errors%20expla... at line 277 in /tmp/binarydeb/ros-kinetic-tf2-0.5.20/src/buffer_core.cpp
Can you please recommend a possible solution to resolve this problem ?
Thanks Dina
Please do not post this sort of update in a comment. Edit your original question.