Constants copied from Sensor class