The prototype demonstrates vehicle detection and servo motion, but one range sensor and a fixed delay are not enough for a safe real barrier. Prototype…