Distance Sensors
Fast Digital Distance Sensors
The distance sensors that are provided are digital distance sensors. These do not provide a distance to an object, they just provide you with a true or false value regarding the space that is in front of the sensor. It either detects and object, or it does not.
The distance to an object is not that important in sumo, it's more important too quickly know if an opponent is near. By using digital sensors, our main code does not have to do any processing or waiting to work out if an opponent is near. We just need to check to see if the sensor is returning a value.
These digital sensors can be used on any port of the Sumo board.
Last updated