Rviz2 doesn't show point cloud because of wrong tf
Hello everyone, I am using ROS2 Foxy on Ubuntu 20.04 and I have a pan/tilt camera which publishes a point cloud I'd like to see on Rviz2.
https://github.com/ros/robot_state_pu...
As you can see in the previous pdf, there is a correct path from odom_frame (which I select on Rviz as Fixed Frame) to tilt_link, where chassis -> pan_link and pan_link -> tilt_link are normal tf, while all the other transformations are static.
When I add the point cloud on Rviz I have this message printed on terminal:
"[rviz]: Message Filter dropping message: frame 'tilt_link' at time 641.986 for reason 'Unknown'"
and it's like if Rviz can't find a proper transformation between those two frames. Instead everything works correctly if I use only static transformations, so it's like if Rviz doesn't like "dynamic" tfs.
What does it depend on?
Thank you very much for your help.
You probably forgot to include those logs in your question.
Yeah you were right, thank you
Not entirely sure but it might be something to do with timestamps, see #q357762 and comments of #q367138