Modern cars can detect a potential collision and hit the brakes without the driver touching the pedal. Automatic emergency braking (AEB) systems use cameras, radar, and sophisticated software to recognize hazards and react in fractions of a second. In some situations, they can prevent a crash; in others, they can reduce the severity of an impact.
But how does a car know when to brake, how hard to apply the brakes, and when to stop intervening?