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

Initial TurtleBot subscriber demo #1523

Merged
merged 16 commits into from Mar 8, 2023
Merged

Initial TurtleBot subscriber demo #1523

merged 16 commits into from Mar 8, 2023

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Mar 7, 2023

Just a fairly minimal mapping of assorted ros topics to corresponding rerun log statements.
Each message also uses tf2 to look up and log a transform for the correct point in time.

We log the point-cloud twice: once in the robot-frame and once in the map-frame as a workaround for #1522

ros2_launched

TODO:

Checklist

@jleibs jleibs added the examples Issues relating to the Rerun examples label Mar 7, 2023
@jleibs jleibs marked this pull request as ready for review March 7, 2023 05:03
Copy link
Member

@teh-cmc teh-cmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks great, though obviously I know nothing about ROS.

Would it be possible to put all the ROS stuff in a Dockerfile, run it in headless mode in a container and connects to from the Rerun script? That would make experimenting with this a whole lot simpler.

@jleibs
Copy link
Member Author

jleibs commented Mar 7, 2023

Note from @nikolausWest : we should make sure this fails gracefully for users that don't have ROS installed since unlike the other examples the pip requirements alone are insufficient.

@jleibs jleibs mentioned this pull request Mar 7, 2023
2 tasks
Copy link
Member

@nikolausWest nikolausWest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

examples/python/ros/main.py Outdated Show resolved Hide resolved
examples/python/ros/main.py Show resolved Hide resolved
examples/python/ros/README.md Show resolved Hide resolved
examples/python/ros/main.py Outdated Show resolved Hide resolved
examples/python/ros/main.py Show resolved Hide resolved
examples/python/ros/rerun_urdf.py Show resolved Hide resolved
examples/python/ros/rerun_urdf.py Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issues relating to the Rerun examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants