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

It might be because you haven't done a spin() anywhere. I'm pretty sure TF needs spin() to work too.

Also, you could increase the timeout duration (rospy.Duration(0.1)) to something bigger, like 2-3 seconds (rospy.Duration(3.0).

It might be because you haven't done a spin() anywhere. I'm pretty sure TF needs spin() to work too.

Also, you could increase the timeout duration (rospy.Duration(0.1)) to something bigger, like 2-3 seconds (rospy.Duration(3.0).

EDIT:

Have you looked at this tutorial? It tries to basically do the same as you're doing.