Patent attributes
A vehicle may have lights such as headlights. The lights may be moved using a positioner. Control circuitry in the vehicle may use sensor circuitry to monitor the environment surrounding the vehicle. The sensor circuitry may include one or more sensors such as a lidar sensor, radar sensor, image sensor, and/or other sensors to measure the shape of a surface in front of the vehicle and the location of the surface relative to the vehicle. These sensors and/or other sensors in the sensor circuitry also measure headlight illumination on the surface. Based on the known shape of the surface in front of the vehicle and the distance of the surface from the vehicle, the control circuitry can predict where a headlight should be aimed on the surface. By comparing predictions of headlight illumination on the surface to measurements of headlight illumination on the surface, the vehicle can determine how to move the headlight with the positioner to align the headlight.