Robotics Training LESSON 18: Obstacle Detection and Collision Avoidance

In this lesson we explore using the HC-SR04 to detect obstacles, and then avoid collisions by stopping the car. This requires a more sophisticated control algorithm for the desired distance for the car to travel. Making it even more tricky, after the obstacle is removed, the car needs to resume its programmed mission. The video shows my solution to this problem