Skip to content
Snippets Groups Projects
Commit fd3ec588 authored by Tommy Persson's avatar Tommy Persson
Browse files

QR.

parent d56d6496
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ def image_callback(data): ...@@ -101,7 +101,7 @@ def image_callback(data):
if options.qr_transform: if options.qr_transform:
try: try:
listener.waitForTransform("/turtle2", "/carrot1", look_up_time, rospy.Duration(1.0)) listener.waitForTransform("/world", options.image_frame, look_up_time, rospy.Duration(1.0))
(trans,rot) = listener.lookupTransform('/world', options.image_frame, look_up_time) (trans,rot) = listener.lookupTransform('/world', options.image_frame, look_up_time)
except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):
print("Exception lookup trans:", look_up_time) print("Exception lookup trans:", look_up_time)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment