Aparna Sathya Murthy The algorithm of the same is very simple. There is one US sensor and two IR sensor. I want the robot to run along the black track such that if any obstacle is detected by US sensor, then it will stop and reverse the direction by turning into 180 degrees on the black track.