DJIIMUState

@interface DJIIMUState : NSObject

This class contains current state of the DJI Inertial Measurement Unit(IMU) State.

  • The ID of IMU. It is started from 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger imuID;
  • The state value of Gyroscope Sensor.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIIMUSensorStatus gyroscopeStatus;
  • The state value of Accelerometer.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIIMUSensorStatus accelerometerStatus;
  • The calibration progress of IMU in percent.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger calibrationProgress;
  • The calibration status of IMU.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIIMUCalibrationStatus calibrationStatus;
  • For products that require the user to orient the aircraft during the IMU calibration, this can be used to inform the user when each orientation is done. It is supported by flight controller firmware 3.2.0.0 or above.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        DJIIMUMultiOrientationCalibrationHint *multiOrientationCalibrationHint;