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

Add tf.ExtrapolationException to the list of exceptions to be discarded when making the call to tf.lookupTransform. New code will look like this,

    try:
        (trans,rot) = listener.lookupTransform('/turtle2', '/turtle1', rospy.Time())
    except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):
        continue