ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Do you construct your TransformListener before the call and does it persist to allow it to build up it's cache? If so, do you also probably need to be robust to the cache not being full the first time, and need to let it retry for a couple cycles to let the cache fill up.
You might also want to look at using a tf::MessageFilter to hold data until transforms are available.