# Rviz pointcloud2 transform error

So I'm getting the following error when trying to visualize a pointcloud2 in rviz in the odom frame: Transform [sender=unknown_publisher] Message removed because it is too old (frame=[livox_frame], stamp=[17694.699910060]) When I switch the frame to base_link it works fine, but when it's in the odom frame it gives the error.

I have a tf tree that links odom > base_link > livox_frame

Am I doing something wrong with my transform?

edit retag close merge delete

Please post more information, like your commands/launch file and tf tree. Usually I see that error when I replay data but I forget to set up the simulation time properly (use_sim_time = true and use --clock option with the playback node).