code: @Override
      public void onRotationSensor(long timeStamp, float rotationW, float rotationX, float rotationY, float rotationZ,
                                   float gyroX, float gyroY, float gyroZ) {
          GVRCameraRig cameraRig = null;
          if (mMainScene != null) {
              cameraRig = mMainScene.getMainCameraRig();
          }
  
          if (cameraRig != null) {
              cameraRig.setRotationSensorData(timeStamp, rotationW, rotationX, rotationY, rotationZ, gyroX, gyroY, gyroZ);
              updateSensoredScene();
          }
      }
docs: Called to reset current sensor data.
  
  @param timeStamp
  current time stamp
  @param rotationW
  Quaternion rotation W
  @param rotationX
  Quaternion rotation X
  @param rotationY
  Quaternion rotation Y
  @param rotationZ
  Quaternion rotation Z
  @param gyroX
  Gyro rotation X
  @param gyroY
  Gyro rotation Y
  @param gyroZ
  Gyro rotation Z