Skip to content

A simple ping pong game implemented using turtlesim simulator and ros2 humble

Notifications You must be signed in to change notification settings

lonebots/turtlesim-pingpong

Repository files navigation

turtlesim-pingpong

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.

demo & rqt_graph

turtlesim-pinpong-demo turtlesim-pinpong-demo

Setup Locally ?

Pre-requisite

  1. Ubuntu 22.04 LTS
  2. ROS2-Humble installed

Follow the steps

  1. Clone the repository.
git clone "https://github.com/lonebots/turtlesim-pingpong.git"
  1. Navigate to source folder.
cd turtlesim-pingpong/
  1. Install the required packages
chmod +x ./install.sh && sh ./install.sh
  1. build the packages.
colcon build 
  1. run the launch file.
ros2 launch turtlesim_pingpong turtlesim_pingpong.launch.py 

Contribution

Please follow guidelines provided here.


Made with ❤️

About

A simple ping pong game implemented using turtlesim simulator and ros2 humble

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published