Updating gyro and accelerometer every cycle and updating agent data every 20ms.