Usually, the operating system takes all the values from the sensors, averages them, then finds the one that is the furthest away from that average. The Ant Farm is built next to a very large window that faces east. As a result, with the lab lights off, the brightest light source is always to the east. The robots can use this as a reference and then find all the other directions. This wasn't an original idea of mine.
Real ants use the Sun for navigation too.
Or click here for a complete parts list. Return to main page.