This diagram demonstrates the importance of sensors for safety. The sensor detects that the car is still in line with the boom gate and send a signal to keep the boom arm raised. Once the car has moved, the boom arm can safely close again.