Robot Assignment 6: Drawing a Map

This is your final robot/garment assignment. You will remote control your robot to walk a path, and then draw the path that you walked on the monitor.

Your Task

Detailed specifications are as follows:

  1. The TAs will ask you to remote control your robot/garment-wearing partner to walk a path (just like in the first assignment).
  2. While you are walking the path, your program should store the route that you walked. You can assume that your robot/partner starts off facing North, and all left/right turns are 90 degrees, so the direction of travel is always along one of the cardinal compass directions (North, East, South, West).
  3. At the end of the path, you will signal to your robot/partner that you are done.
  4. Your program should then display the path on the monitor. You have three choices:

Freebies and Hints

Specifications, Deadline and Evaluation

Your program should be called MapBot.py.

Together with your program, we're going to request that you hand in a brief report describing your work in English. This report should not be more than one page long, and it should include the following parts:

Your report should be titled "Robot6Report.pdf", be in pdf format, have your names and studentIDs in it, and be handed in with the program to WebCT.

Your program will be evaluated in two ways: through your code, and also through a demonstration. Therefore, you will need to hand in your program to WebCT, as well as to demonstrate it to the TA.

The deadline for handing in the code is 07:00, Thursday December 3rd, 2009. No late submissions are allowed. The person in the group with the smallest studentID should hand in the code. If we get multiple submissions in the group, we'll just pick the one with the smallest studentID and ignore the rest.

For the demonstration, you are to sign up for a time slot. During the demonstration, you will first demo your program running to your TA. He will watch your program do its task, and then will ask you some questions about your program. He might also choose to do a "wire-pull test" -- which is, the TA will make some changes to your code when you're not looking. Then you will have to debug your program in front of him.

Bear in mind that the TA can ask anybody in your group to do the demo, or to debug the program. He/she also has the right to ask the rest of the groupmates to leave the room while the program is being demoed. Therefore, everybody needs to be present for the demo.