teaching:se-kiba:plan-based-assignment
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| teaching:se-kiba:plan-based-assignment [2013/05/23 16:11] – [Installing the CRAM system] winkler | teaching:se-kiba:plan-based-assignment [2016/05/19 09:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| source ~/.bashrc | source ~/.bashrc | ||
| - | ===== CRAM Installation and Basics ===== | ||
| - | ==== Starting with a standard use-case: Pick and Place ==== | ||
| - | Once you have the system installed, you can check it's functionality by following [[https:// | ||
| - | ==== Going further | + | ===== Assignment ===== |
| - | Your task in the seminar will be to create two ROS packages | + | To successfully pass this assignment, you must write a ROS node that communicates |
| - | {{ http:// | + | This includes doing the following: |
| + | * Write a .launch-file for starting the turtlesim_node node in the turtlesim package (this will automatically start the roscore master node if none is active) | ||
| + | * Write a main function that starts the ROS node and connects it to the ROS master. | ||
| + | * Go through a list of cities (*cities*, as defined in the assignment template) and make sure the turtle reaches all of these city coordinates (use a reasonably small threshold around the target city to check if it reached the target spot). | ||
| + | * For this, you will need to write a controller in Lisp as you can only command the turtle velocity. | ||
| + | * Change the background of the turtle visualization every time you reach a city to a random color | ||
| + | * Output a message containing the city name every time you visit a city and start out to a new one using for example < | ||
| + | * Once all spots were visited, go back to the initial position. | ||
| + | * Implement an interface for the / | ||
| + | |||
| + | To change the background color, inspect the /clear ROS service. | ||
| + | The parameters can be set using the | ||
| + | < | ||
| + | (roslisp: | ||
| + | </ | ||
| + | call. Afterwards, you have to call the /clear service. You can do this in Lisp using the roslisp call-service function: | ||
| + | < | ||
| + | (roslisp: | ||
| + | </ | ||
| + | with respective service-name and -type. | ||
| + | |||
| + | Document the code you write (preferably in the GitHub Wiki) and add documentation strings to the implemented funtions. | ||
| + | |||
| + | For details concerning the TurtleSim package, consult the manual: [[http:// | ||
| + | For details about the assignment, look at the README.md file also shown in the GitHub main page for the repository: [[https://github.com/ | ||
| ===== Side Notes ===== | ===== Side Notes ===== | ||
| In order to get a better understanding of Lisp (and for reference purposes), the following links can support you while getting the grips of it: | In order to get a better understanding of Lisp (and for reference purposes), the following links can support you while getting the grips of it: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | * [[http:// | ||
teaching/se-kiba/plan-based-assignment.1369325485.txt.gz · Last modified: (external edit)
