-
Notifications
You must be signed in to change notification settings - Fork 53
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
Migrate turtle_tf2 tutorial package to ROS2 #34
Conversation
@ahcorde can you suggest what should I use for the version tag? Previously it was 0.2.3. |
Don't worry about the version, these packages will be release in ROS 2 for the first time. We can start with the version 0.0.0 |
You should update both
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. I agree with @ahcorde's comments.
In your Python files, it would be great to add comments for what things do. This will help check your understanding and can be something you leverage when writing tutorials.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One quick comment.
@kurshakuz you should also need to modify the metapackage https://github.com/kurshakuz/geometry_tutorials/blob/ros2/geometry_tutorials/package.xml |
fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What you have here looks good to me.
I'm not sure what all should be included in this PR. If it's much more, we should retarget this to another branch (probably on your fork) and then make smaller PRs to that branch. Then when that's ready, we can make the PR targeted for ros:ros2
.
It would also be nice to have a checklist for all of the files you plan to add; perhaps in a PR's description.
Understood. Let's then merge that PR and I will push further update PRs to my own branch. This PR mainly include:
Broadcaster and listener nodes are used for the demonstration capabilities of tf2 as described in ros2/ros2_documentation#1628. More in-depth explanation of the code will be covered in further tutorials 1, 2. The static broadcaster will also be described in separate tutorial 3. |
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
…_broadcaster.py Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall. I think it'd be nice to add some formatting tests.
Co-authored-by: Audrow Nash <audrow@hey.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good after a few copyright year changes.
All fixed now. |
Functionality is the same as presented in http://wiki.ros.org/tf2/Tutorials/Introduction%20to%20tf2.
The only difference is that it is needed to launch turtlesim world, broadcaster and twist publishers separately from the teleop node. Corresponding issue is available here: ros/ros_tutorials#125
To launch that example, run following commands:
For Rviz part in the end, run (will need to update the path):