controlling gyro and temp sensors