An optical axis controller and method for headlamps for a vehicle where
the swiveling lamps are not driven due to the minute steering operation
of the driver. The steering angle of the steering wheel is detected by
using, for example, a steering angle signal from a steering angle sensor.
A desired light emission direction is computed based on the steering
angle and a hysteresis value and the lamps are driven to an actual light
emission direction matching the desired light emission direction.