12/1/2020 (Iris)

OBSTACLE AVOIDANCE

Today in class we were separated into 3 groups, and challenged each other to make the best robot that can avoid obstacles. Our robot had to avoid  all the objects in front of it on the track that the teacher made. We used Infrared sensors to sense the obstacles in front of the car. We used 2 IR sensors attached to each side of the front of the robot and programmed it like this:

when  something is detected by the right IR sensor - turn left
when  something is detected by the left IR sensor - turn right
when  something is detected by both the IR sensors - stop

We realised that this programming is not the best because if there a big obstacle the robot will just stop without trying to get past it. This is something we will change in either the programming or design in the future.





Comments

Popular Posts