This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com).
This project demonstrates how an Arduino along with a Dual H-bridge Motor Drive is able to control four DC motors and three ultrasonic sensors. The objective here is to demonstrate the circuit schematic and C program that allows the RC car to drive autonomously while avoiding all obstacles in its path. Along with this, this car will also be controlled via an IR remote.
Once accomplished, this car will be able to utilize two modes: the autonomous mode and the remote control mode. The autonomous mode will allow the car to move freely without coming into contact with its surroundings. The remote control mode will allow the user to control the car and move it according to the IR remote. During this mode, the ultrasonic sensors are not operational and thus the car can be moved in whichever direction the user wants.
All in all, this instructable will allow you, the reader, to reproduce my project with ease and satisfaction.”

Link