-
Notifications
You must be signed in to change notification settings - Fork 12
Turtlesim Tutorial
The turtle_control package is a ros package meant to help new members of the Missouri S&T robotics team learn about ros. The package should currently build and will spawn two turtles (turtle1 and goal).
Turtle1 is meant to represent your robot and will be the turtle that you move around and use. The task is to make this turtle navigate to the other turtle named goal. The current repository provides you with the infrastructure necessary to begin in the form of a ROS workspace.
The file that you will need to edit is src/turtle_control/src/turtle_control.cpp. There are comments to guide you through the process. You may also need to modify the header file which can be found in src/turtle_control/include/turtle_control/turtle_control.h.
In order to test your code first run catkin_make at the top level of your workspace. You must source your workspace before you can run the code (source devel/setup.bash) and then you should be able to run the node with roslaunch turtle_control turtle.launch. This should start turtlesim and the node you modified.
Here are some links that may help you (be sure you click indigo at the top): http://wiki.ros.org/turtlesim http://wiki.ros.org/ROS/Tutorials http://wiki.ros.org/rostopic