The motive of this lab is to introduce the use of sensor in a robot
Sensor: Sensor is a device used to sense any object in its field of view. The IR sensor used in the robot produces infrared lights and calculates the amount reflected back based on which it decides the presence of an object. Infrared light is not suitable to measure distance between objects because even though two objects are at the same distance, the reflected amount can be varied depending on the color and brightness.
Download Task Code here: Right click and save (Requires Roboplus Software to execute)