Wednesday, October 7, 2009

H-21

Today, I finished building my robot. I also made the part of my program that will make the robot climb up the platforms and then stop. In order to do this, I used a light sensor attached to the front of my robot. I had to change the default value of the light sensor because it was very difficult to find the correct value to wait for. This was because the area between the steps created a spot of darkness almost as dark as the final black line. However, after some trial and error, I was able to get my robot to consistently stop after it had climbed the platforms. Tomorrow I will write the part of the program that handles measuring the distance that the robot travels.

No comments:

Post a Comment