A sensor assembly for a vehicle includes a vehicle sensor, a shield panel that is positioned upstream of the vehicle sensor and that is pivotable, and a computer communicatively coupled to the shield panel. The computer is programmed to pivot the shield panel based on data representing a wind speed.