(Note: For more convenience when you work on the project, I've made up a PDF with all the instructions from "Your Challenge" + "Some Tips to Get Started". The PDF is attached to this lecture, you can download it and keep it on the side when you're doing the project)

Some tips to help you get started

Here are some tips to help you get started with this Turtlesim project.


You will use 3 nodes:

You can create a new package (for example turtlesim_catch_them_all) to put your new nodes.


The turtle_spawner node will have to:


The turtle_controller node will have to:


You will need to create some custom interfaces:


Here’s the rqt_graph with the nodes and topics:


After you’ve created that, you will be able to scale the application with parameters and launch files. This will be the focus on the last part of the solution.


Here are the parameters you can have:

/turtle_controller:

catch_closest_turtle_first

/turtle_spawner:

spawn_frequency

turtle_name_prefix


You can create the launch file (and YAML param file) inside the my_robot_bringup package. This will launch the 3 nodes along with parameters.


Steps for the solution videos:

(Step 1 and Step 2 are completely independent, you can do Step 2 first if you prefer)

Alright, time for you to start working on this project!