Added missing sensor initialization