Adapting the headlamp pattern from the headlamps

The headlamp pattern can be reset when changing from right to left-hand traffic, and vice versa. The function adapts the beam from the headlamps so that it does not dazzle oncoming traffic.