fiexed SensorThread example