a solar sensor is a device that measures the direction of the sun