DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller.imu
      Description:

      Callback interface that is used to receive IMU state from flight controller.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull IMUState state)
      Package:dji.common.flightcontroller.imu
      SDK Key:FlightControllerKey.IMU_STATE
      Description:

      Called when the flight controller pushes an IMU state update. The callback method would not be called if the aircraft is flying.

      Input Parameters:
      @NonNull IMUState stateInformation about the IMU state pushed by the flight controller.