Tuesday, November 18, 2008

Obstacle Course Detection (Process 2)

As I said, I will show you our robot !!

It looks very simple but the wires are really COMPLICATED.

Today, Woosik and I worked on the programming.

The reason why the robot didn't stop in the box in the previous class was that we had a problem with setting the threshold of the light sensor. It was too LOW (approximately 16) Thus, we set a high value. If I am not mistaken, the value was about 50. Then, we made the robot stop in the box for 5 seconds by using the time sensor.

After prgramming for the box obstacle, we designed the program for the 2 walls. We made a swing turn (turning right) right after the touch sensor hit the first wall. Then, we made the robot go straight, sensing the second wall with the ultrasonic sensor. As we made the robot get close to the second wall, we made another swing turn (turning right again) After that, fianlly, we set to go straight until the light sensor sensed the white line at the end of the race. To be honest, we just hoped the robot would aviod the cans.

1 comment:

  1. wires made robot seemed so complicated, and untidy. though, it went well during our offical trial.

    ReplyDelete