obstacle detection, line following, speed control, and environmental monitoring. am trying to detect obstacles in front of the car using an ultrasonic sensor HC-SR04 and control the motor accordingly. my aim is to measure the distance to obstacles and stop the car if an obstacle is too close.UnboundLocalError: local variable 'start' referenced before assignment