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.
Detailed specifications are as follows:
Walked East for 0.5 meter Turned Right Walked South for 1 meter Turned Left ...
>>> | | | | |Note that the number of characters printed out should be somewhat proportional to the distance travelled.
startTime = time.clock()
... do something
elapsedTime = (time.clock() - startTime)
Remember to import time in your program.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 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.