Skip to content

A game made with TurtleSim in :::ROS, the task is to drive the turtle around a predefined path without going out of the line.

License

Notifications You must be signed in to change notification settings

jerinpeter/turtle_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple game using Turtlesim

Introduction

A game made with TurtleSim in :::ROS, the task is to drive the turtle around a predefined path without going out of the line.

Prerequisites

Building & Installation

cd catkin_ws/src

https://github.com/jerinpeter/turtle_game

cd ..

catkin_make

roslaunch turtle_launch.launch

Working in brief

  • Subscribed to "/turtle1/color_sensor" topic to get the background colour of the turtle.
    " /turtle1/set_pen
    "/turtle1/teleport_absolute"

The above services where used to draw a predefined shape in the turtlsim for the user to drive the robot.

  • If the turtle when out of line a warning message is given to the user.

DEMO

Working

Improvements

  • Room for addition of more shapes and complex shapes to drive the turtle around.

  • Different levels with the ability to adjust thickness of the line using the "width" parameter in "/turtle1/set_pen" service.

Reference

About

A game made with TurtleSim in :::ROS, the task is to drive the turtle around a predefined path without going out of the line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published