Monday, September 20, 2010

Day 4: Following a black line





This program made the robot follow a black line...


But it looks kind of drunk while doing it!

Basically, it goes one direction until one of the sensors on either side "sees" the line, and then it starts going the other way.

There were a lot of issues! For some reason, reconnecting each block fixed some of the issues.

Our right motor was weaker than the left. It looked really silly since it would turn really fast! and then really slowly, so we changed the power on the motors to reflect the imbalance.

Also, when the robot went too fast, it wouldn't see that it had passed the line, which we solved by slowing down the motors.

No comments:

Post a Comment