ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your problem isn't in the subscriber but the broadcaster where you're publishing the transforms with time zero.

https://github.com/kurshakuz/geometry_tutorials/blob/9e36826d3159885e0a66174966eef16240e3b50a/turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp#L38-L41

You create the time object called "now" but you don't set the value to now, you just leave it default initialized which is time zero.