ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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)
.
2 | No.2 Revision |
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.