I have to make a robot which has front wheel steering by one servo motor as like an RC car model. It has 2 SOnar sensors on the left and right side. Taking the distance from two side walls the robot has to be driven always in middle by steering the servo. can anyone please help me with the Arduino code or idea or anything else?
Thank you!