ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I had the same problem, using it like this:
rospy.wait_for_message("ar_pose_marker",AlvarMarkers)
The problem was that I missed a rospy.spin()
in the whole Python script, because I did not intend to create a ROS node.
However the missing rospy.spin was causing rospy not iterating through the message queues, thus waiting forever even if the topic actually publishes something.