Difference between revisions of "Spring2011RobotLabAssignment1"

From GICL Wiki
Jump to: navigation, search
(Created page with 'Category:Robot Lab (Spring 2010) ==Assignment 1: "Meandering with a Mazy Motion"== In this assignment, you will use the Roomba model robot to navigate a maze. The roomba mus…')
 
Line 2: Line 2:
 
==Assignment 1: "Meandering with a Mazy Motion"==
 
==Assignment 1: "Meandering with a Mazy Motion"==
  
In this assignment, you will use the Roomba model robot to navigate a maze. The roomba must navigate from the top left corner of the maze to the bottom right.  You can use the coordinates in the maze to determine when your robot has reached the opposite corner (46, -46). Once your robot has made it to the end, the client should produce a graphical representation of the world that it has discovered.
+
In this assignment, you will use the Roomba model robot to navigate a maze. The roomba must navigate from the top left corner of the maze to the bottom right.  You can use the coordinates in the maze to determine when your robot has reached the opposite corner (46, -46).
  
 
You should start this assignment early, there are a lot of implementation details that are trickier than they might seem from this writeup.
 
You should start this assignment early, there are a lot of implementation details that are trickier than they might seem from this writeup.
  
 
===Configuration Files===
 
===Configuration Files===
The configuration files are provided [http://www.cs.drexel.edu/~urlass/RobotLabAsmtOne.tar.gz in this tarball].
+
This assignment has three portions.  In each, the robot has a different set of sensors.  For each portion, your robot should successfully navigate the maze.  The configuration files for each are provided [http://www.cs.drexel.edu/~urlass/RobotLabAsmtOne.tar.gz in this tarball].
  
 
Inside there is a client skeleton files which you are welcome to use or not use.
 
Inside there is a client skeleton files which you are welcome to use or not use.
Line 30: Line 30:
 
===Extra Credit===
 
===Extra Credit===
  
Figure out how to get the Bump sensor working (it may or may not work with the existing Java API).  Create another set of maze files, and navigate using only the bump sensor and the IR sensors.
+
Create another set of maze files, and navigate using only the bump sensor and the IR sensors.
  
 
This is worth up to five extra points.
 
This is worth up to five extra points.
  
===Submission===
+
===What to Submit===
* Submit a tarball of your robot client code using Blackboard. The tarball should contain a README file with any necessary build instructions or peculiarities of your program.
+
A tarball containing:
* If something does not work properly or is incomplete, you must say so in the README.
+
# Client-code for each portion (LimitedLaser, Laser, and Sonar) of the assignment  
 +
# Video(s) of your solution to each scenario.
  
 
===Grading===
 
===Grading===
* Robot reaches the end of the maze using a wall-following scheme: 12 total points
+
* Robot reaches the end of the maze using a wall-following scheme: 18 total points
** IR robot: 4 points
+
** IR robot: 6 points
** Laser robot: 4 points
+
** Laser robot: 6 points
** Sonar robot: 4 points
+
** Sonar robot: 6 points
* Robot client produces a representation of the walls it's sensed: 6 total points
+
** IR robot: 2 points
+
** Laser robot: 2 points
+
** Sonar robot: 2 points
+
 
* Code is readable and documented: 2 point
 
* Code is readable and documented: 2 point
  
'''Total: 20 points + E.C.'''
+
'''Total: 20 points + up to 5 EC points'''
  
 
===Maze===
 
===Maze===
Line 58: Line 55:
  
 
A bumper robot using left wall following.
 
A bumper robot using left wall following.
 
[[Image:Robotlab2009-hw1-map.png]]
 
 
The internal map representation for a left wall following bumper robot.
 

Revision as of 11:29, 8 April 2011

Contents

Assignment 1: "Meandering with a Mazy Motion"

In this assignment, you will use the Roomba model robot to navigate a maze. The roomba must navigate from the top left corner of the maze to the bottom right. You can use the coordinates in the maze to determine when your robot has reached the opposite corner (46, -46).

You should start this assignment early, there are a lot of implementation details that are trickier than they might seem from this writeup.

Configuration Files

This assignment has three portions. In each, the robot has a different set of sensors. For each portion, your robot should successfully navigate the maze. The configuration files for each are provided in this tarball.

Inside there is a client skeleton files which you are welcome to use or not use.

  • LimitedLaser - This robot only contains two IR wall sensors.
    • To run player maze-ir.cfg
    • NOTE: You may only use lp[0] and lp[360] from the LaserProxy. These represent your left and right IR wall sensors. Hint: You can also use the position of the robot.
  • Laser - This robot only contains a 180 degree laser.
    • To run player maze-laser.cfg
  • Sonar - This robot only contains 16 sonar devices on it.
    • To run player maze-sonar.cfg

Additional Requirements

  • You may not hard code turns or rely on anything particular to the provided maze (except in assuming the end position as the opposite corner).
  • You may use an imaging library of your choice to produce the image, or use a simple format such as BMP or XPM.

If you are not sure about the above requirements, feel free to email the TAs.

Extra Credit

Create another set of maze files, and navigate using only the bump sensor and the IR sensors.

This is worth up to five extra points.

What to Submit

A tarball containing:

  1. Client-code for each portion (LimitedLaser, Laser, and Sonar) of the assignment
  2. Video(s) of your solution to each scenario.

Grading

  • Robot reaches the end of the maze using a wall-following scheme: 18 total points
    • IR robot: 6 points
    • Laser robot: 6 points
    • Sonar robot: 6 points
  • Code is readable and documented: 2 point

Total: 20 points + up to 5 EC points

Maze

Maze.png

Expected Results

Robotlab2009-hw1-bump.jpg

A bumper robot using left wall following.