-
Notifications
You must be signed in to change notification settings - Fork 153
Add Turtlesim Demo #445
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
Add Turtlesim Demo #445
Conversation
This package provides message and service definitions for the turtlesim_rs package.
- Downgraded dependencies to work with rust lower than 1.75.
- Replaced strong Arc clones with Weak references in thread spawns - Ensured threads terminate when the associated Arc is dropped
I have to say that this is an awesome example! Congratulations for the result! root@fbdbf6950fd3:/workspace# ros2 run turtlesim_rs turtlesim_node
root@fbdbf6950fd3:/workspace# Maybe I am also missing a |
Thank you for your feedback and for testing the package! I was able to reproduce the issue and found that it was related to some missing dependencies for GUI applications in Docker. To resolve this, you need to:
Let me know if you run into any other problems. |
Description
This PR introduces the Turtlesim demo in Rust, providing a Rust implementation of the
turtlesim
simulation. This PR addresses issue [#124]Key Features:
turtlesim_rs
: A Rust-based implementation of theturtlesim
simulator, providing a complete ROS 2 integration for visualizing and controlling turtles. This package includes the core simulation logic, turtle control, and rendering components, ported from the C++turtlesim
package.turtlesim_rs_msgs
: Added the necessary message types and services to support theturtlesim_rs
simulator.Tutorials:
Here’s a checklist of the tutorials included and upcoming:
turtle_teleop_key
: Control the turtle using keyboard input.mimic
: Mimic the movements of one turtle in another.draw_square
: Program a turtle to draw a square.What's Next: