-
If you haven't already, create a package named "lab3" to contain
your code for this lab.
-
Create a Python node that moves the Turtlebot forward (slowly) until
it bumps into something. If the obstacle is removed, the robot
should continue forward until another obstacle is reached. Test your node.
-
Create a launch file named
lab1.launch that executes
minimal.launch and starts your node. Test your launch file.
-
If you have lots of extra time, introduce a ROS parameter to control
the speed of the robot. You should read the parameter in your code
using
rospy and set its value in the launch file.
-
Create a folder named
submit in the root directory of
your workspace and add it to your subversion repository:
$ mkdir submit
$ svn add submit
A submit
-
Now copy use
svn copy to put a copy of your finished lab into that submit folder and commit. (Make sure you have already added lab3 to your repository.)
$ svn cp lab3 submit
$ svn commit
-
I'll test your submission as follows, so you might want to try logging in and trying it out:
$ svn checkout https://svn.cs.jmu.edu/spragunr/GROUP/submit/lab3/ cs480_ws/lab3
After executing this from the home directory I should be able to launch your application.