I am using a robot with Ultrasonic Sensor. Using the value of the sensor, the robot is coded to take action.
The action is:
Gradually increase the speed of the robot until the maximum speed (set to 60).
The problem faced:
Once the robot finds an obstacle, it stops. But, when the obstacle is removed, the robot moves with greater speed. How to avoid this?