ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your code looks correct. It just takes a while until the TF tree evolves completely and that's where your error within the first second probably comes from. I think it is definitely possible to get exceptions during that time. However, I don't feel like waitForTransform should really throw an exception here. I'm not sure if this is a bug or an actual design decision but you might want to consider filing a ticket at the corresponding bug tracker.