ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

lookupTransform now not erroring as expected in tf python tutorial

asked 2016-09-10 12:40:25 -0600

dheater gravatar image

Working through the Python version of the tf tutorial on page using Kinetic on Ubuntu 16.04.

For the first example on page: http://wiki.ros.org/tf/Tutorials/tf%2... an error is expected when asking for a lookupTransform with time set to rospy.Time.now().

The "chaser" turtle does not move, but no errors are reported. Can anyone else verify this? Perhaps the error is suppressed in newer versions of ROS?

Worked through the rest of the page and everything is working as expected.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-10 13:04:13 -0600

dheater gravatar image

Found it. In a previous step, we wrapped the lookupTransform call with

        except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):

Removing tf.ExtrapolationException for the list of handled exceptions allows the error to be reported.

edit flag offensive delete link more

Comments

Edited tutorial to reflect this.

dheater gravatar image dheater  ( 2016-09-10 13:12:00 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-10 12:40:25 -0600

Seen: 199 times

Last updated: Sep 10 '16