Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in tf2 tutorial #552

Open
xaxam2001 opened this issue Jun 21, 2023 · 0 comments
Open

Error in tf2 tutorial #552

xaxam2001 opened this issue Jun 21, 2023 · 0 comments

Comments

@xaxam2001
Copy link

In the section "using time (Python)" we can read "Edit turtle_tf2_listener.py and remove the timeout=Duration(seconds=1.0) parameter that is passed to the lookup_transform() call on line 76." but if we read the turtle_tf2_listener.py given in the Writing a listener (Python) section we can read the following code:

t = self.tf_buffer.lookup_transform(
      to_frame_rel,
      from_frame_rel,
      rclpy.time.Time())

So it is a bit confusing.

Using time (Python) section: https://docs.ros.org/en/humble/Tutorials/Intermediate/Tf2/Learning-About-Tf2-And-Time-Py.html
Writing a listener (Python) section: https://docs.ros.org/en/humble/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Listener-Py.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant