You are on page 1of 2

Rishi Jain - 02.

01

1. How well is your Scribbler now calibrated? (Include a screen capture of the interface screen from the calibrate function with this submission.) I used the simulator to build and test my program so I did not end up calibrating the robot. I prefer using the simulator because viewing the movement is much easier and accurate. If you need a calibration screen shot, I can do that (please let me know). 2. What is an alternate way a poorly calibrated robot might be programmed to travel between fixed positions? The robot could be programmed to react to the changes in the environment by using the sensors. For example, it could turn left when it detects darkness (by using the light sensors). Using the sensors may not apply in every situation, but in a trial that has the same exact conditions all the time, this idea is feasible. 3. What question(s) of your own did you answer while writing this program? I figured out that I could make the robot beep while it is in motion. Originally, i thought the robot had to be stationary, but the function works fine in motion. 4. What unanswered question(s) do you have after writing this program? I am still not exactly sure how to bring the robot to a temporary full stop for a certain period of time. The stop() function would permanently stop the robot and would not let it continue moving. Post mortem review: Describe the main point of this assignment. (Required) The main point of this assignment is to design a program where a robot will follow a preplanned path. Discuss how this assignment relates to a real-life situation. (Required) Many things are programmed to follow a preplanned course such as a surgery machine and the autopilot of an airplane. It is important that these things are programmed accurately and the scribbler was a similar experiment, but at a much smaller scale. The robot relates to a real life situation because there are robots (such as robots that detect explosives) that are preprogrammed to investigate explosives. They need to accurately do the same thing each time because if they they make a mistake, it could jeopardize the whole mission. Reflect on your growth as a programmer. When I first walked into this CP1 course, I had no idea what exactly programming was. Starting from printing basic text on python and asking the user for inputs, I can now make a robot function with code. Describe the biggest problem encountered and how it was fixed. The biggest problem I had was making a specific motion last for a certain period of time, but the wait() function solved my problems. Describe at least one thing that will be done differently in the future. In the future I want to fully stop the robot, then make the beeping sounds instead of making the beeping sounds while in motion. Suggest how this assignment could be extended. This assignment could be extended by requiring the robot to turn around and make it follow the path it had originally traveled. Pseudocode 1) Robot goes full speed from A to B. 2) Wait for 1 second. 3) Turn right at half towards point C

Rishi Jain - 02.01

4) Robot goes half speed from B to C. 5) Wait for 2 seconds and 3 beeping sounds. 6) Reposition robot to travel to point A. 7) Robot goes 3/4th speed backwards from C to A. 8) Robot says Theres no place like home!

You might also like