Friday, November 7, 2008

This is stage 3 of my programming, the ultrasonic sensor.

When I tested my first program I found that having the switches one after the other meant that when the extra speed was added from the touch sensor the motors stopped before restarting the loop so I put the touch sensor switch inside the light sensor switch and that seemed to solve the problem.

I put both the motor speeds into a switch so that it did not pause when it changed speeds. so it ran more efficiently.

I had a little bit of a problem with the ultrasonic sensor i could not get it working very well so it just changes direction a little when it sees something.

I think more testing and making changes according to that testing will make my robot ready for the competition.

No comments: