Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package Description

This repository is a solution for the assignment given in the course ROS2 For Beginners | Section: 10

Assignment name: Turtlesim “Catch Them All”


Objective

  • Multiple turtles should spawn at random position.
  • A control-turtle will try to reach(catch) nearest-turtle, once it reaches the nearest-turtle's present location, nearest-turtle shall be removed.

Requirements

Following are the requirements for the project:

  • ROS Foxy should be installed in the system.
  • Turtlesim package should be installed.

to install Turtlesim, execute the following command:

sudo apt-get install ros-foxy-turtlesim 

Solution Outline

  • The solution shall be implemented in cpp and python.
  • Create a ROS 2 cpp package.
  • There will be two nodes.
  • Node 1:
    • It shall spawn multiple turtles at random location.
  • Node 2:
    • It shall send(publish) appropriate velocity commands for the control-turtle and will try to reach the nearest-turtle.
    • Once the control-turtle reaches the nearest-turtle's position, nearest-turtle should be removed.

Project Status

Turtle has been spawned at desired position.

goal-

Multiple turtles are spawning at given position.

goal-2

Turtles are spawning at random position.

goal-3

Control turtle is able to traverse to random pose.

goal-4

Control turtle is traversing to spawned turtle's pose.

goal-4

Catched turetle is removed.

goal-4

catch nearby turtle.

goal-4

About

Assignment solution for ROS 2 beginner course.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages