Simple project with turtle simulator, using ros2 nodes, topics, services, parameters and launch files. The left-turtle
and right_turtle
(multiplayer) tries to prevent the ball_turtle
from htting the left and right walls.
- Ubuntu 22.04 LTS
- ROS2-Humble installed
- Clone the repository.
git clone "https://github.com/lonebots/turtlesim-pingpong.git"
- Navigate to source folder.
cd turtlesim-pingpong/
- Install the required packages
chmod +x ./install.sh && sh ./install.sh
- build the packages.
colcon build
- run the launch file.
ros2 launch turtlesim_pingpong turtlesim_pingpong.launch.py
Please follow guidelines provided here.
Made with ❤️