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 is that you are not giving your listener time to fill it's buffer. You need to create the listener in a persistent location and then query it on demand. I recommend reading through the tf and Time tutorial