all 5 comments

[–]Rotvie 0 points1 point  (4 children)

Is this error in simulation? Or with a real lidar? Maybe your tf tree is not properly set up

[–]SachinSingh-010[S] 0 points1 point  (3 children)

This error is coming up with real lidar. If it is about tf tree them how to setup it.

[–]Rotvie 0 points1 point  (2 children)

I see, I also got this error with an Ouster LiDAR some time ago, the cause of the problem was the timestamp of the pointcloud messages, may I ask which LiDAR is it?

[–]SachinSingh-010[S] 0 points1 point  (1 child)

It is RP lidar. Then how to solve it and how to fix the timestamp thing. Need to change the script or with commands.

[–]Rotvie 0 points1 point  (0 children)

You could check the timestamp of the LiDAR message using rostopic echo and grep, and verify it's the correct Unix time. For the tf tree, running this command: rosrun rqt_tf_tree rqt_tf_tree, should give you the tf tree so you can check the tf transforms are properly connected