The goals of this lab are to gain experience creating ROS projects, working with subversion, and creating ROS launch files.
~/cs354_ws/
. If you cd into that directory, you will
find that there is nothing there. If you type
svn statusIn that directory, you should get no response. That's good! That tells you that the contents of the directory (empty) match the repository version (empty).
cs354_ws
directory (not catkin_ws
as described in the tutorial.)
geometry_msgs
,
kobuki_msgs
,
rospy
, and
std_msgs
.
bumper.py
file that you created in the
previous lab. Copy the file into a scripts
directory in
your newly created package. At this point, you should have a functional
package. Test your setup by connecting a Turtlebot and typing:
rosrun labs bumper.pyin a terminal window.
At this point checking the subversion status of your workspace should look something like the following:
robot@turtlebot-02 ~/cs354_ws $ svn status ? src ? build ? devel
This indicates that the three directories listed aren't currently under version control. You can add everything in the current folder to your repository like this:
robot@turtlebot-02 ~/cs354_ws $ svn add * A build A build/CATKIN_IGNORE A build/Makefile A build/test_results A build/labs A build/labs/Makefile ...
You have added the files locally, but you haven't committed your changes to the subversion server. If you logged out now, your work would be lost. You can commit your work by running the following command in your workspace directory.
svn commit . -m "Initial commit."
labs
project named
"launch". Inside that directory, create a launch file named
"bumper.launch". Your launch file should perform the following steps:
minimal.launch
to bring up the Turtlebot.roslaunch labs bumper.launchin a terminal.
Submit by checking your project into your group subversion repository with the commit message "LAUNCH LAB FINAL SUBMISSION".