15-494/694 Cognitive Robotics: Lab 6
I. Software Update and Initial Setup
At the beginning of every lab you should update your copy of
vex-aim-tools. To do this on Linux or Windows:
$ cd vex-aim-tools
$ git pull
II. Path Planning
The vex-aim-tools package now offers simple wavefront and RRT path planners
that allow you to send the robot to an object while avoiding
obstacles.
- Download Lab6a.fsm to your Cognitive
Robotics folder and read it.
- Compile Lab6a using genfsm.
- Run the program by typing "simple_cli Lab6a".
- Position an orange barrel where the robot can see it. This is your target object.
- Position a blue barrel between the robot and the orange barrel.
You may have to offset it slightly so that both barrels are
visible.
- Type "tm" in simple_cli to proceed.
- How are the objects represented in the wavefront display? Take a screenshot.
- How is the generated path shown in the path viewer display? Take a screenshot.
- See if you can force a more circuitous path by adding
additional blue barrels or AprilTags as obstacles. Take a screenshot.
III. Path Planning Away From the Origin
- Set up a more complex obstacle field using barrels and AprilTags.
- Run Lab6a but don't type "tm" yet.
- Type "show particle_viewer" to bring up the particle viewer so
you can use it to drive the robot around.
- Drive the robot so it can observe all the obstacles you've set up and build
a complete world map. Make sure the orange barrel is present as well.
- Now type "tm" to invoke the path planner and take a screenshot
of the reults.
IV. Path Planning Failure
- Set up the orange barrel so that it's surrounded by obstacles
and cannot be reached without the robot colliding with one of them.
- Run Lab6a. What result do you get? Document with a screenshot.
V. RRT Path Planning
- Download Lab6b.fsm to your Cognitive
Robotics folder and read it.
- This program works like Lab6a, using the orange barrel as a
goal. The difference is that it uses the RRT-connect path
planner. You can see the two trees (green and blue) in the
path_viewer window, along with the recovered, smoothed path (red).
- Arrange some objects to form obstacles for the path planner,
run it, and take a screenshot of the results.
Homework
Finish the Nim problem from Lab 6.
What to Hand In
Hand in a zip file containing the following:
- A PDF file (not DOCX or RTF) with your narrative describing the
experimentation you did in parts II through V.
- Your solution to the homework problem (Nim).
If you did parts II to V with a team mate, list that person's name in your handin.
|