public class

DJIIMUState

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJIIMUState

Class Overview

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

Summary

Public Constructors
DJIIMUState(int subImuCount)
DJIIMUState()
Public Methods
boolean equals(Object o)
DJIIMUSensorState getAccelerometerStatus()
Returns the state value of the Accelerator Sensor.
int getCalibrationProgress()
Returns the progress of the calibration, its range is [1, 100].
DJIIMUCalibrationStatus getCalibrationStatus()
Returns the status of the IMU's calibration.
DJIIMUSensorState getGyroscopeState()
Returns the state value of Gyroscope Sensor.
int getImuId()
DJIIMUMultiOrientationCalibrationHint getMultiOrientationCalibrationHint()
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.
DJIIMUState[] getSubIMUState()
int hashCode()
boolean isConnected()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIIMUState (int subImuCount)

public DJIIMUState ()

Public Methods

public boolean equals (Object o)

public DJIIMUSensorState getAccelerometerStatus ()

Returns the state value of the Accelerator Sensor.

public int getCalibrationProgress ()

Returns the progress of the calibration, its range is [1, 100]. If the IMU is not calibrating, the value of the calibration progress will be -1.

public DJIIMUCalibrationStatus getCalibrationStatus ()

Returns the status of the IMU's calibration.

public DJIIMUSensorState getGyroscopeState ()

Returns the state value of Gyroscope Sensor.

public int getImuId ()

public DJIIMUMultiOrientationCalibrationHint getMultiOrientationCalibrationHint ()

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.

public DJIIMUState[] getSubIMUState ()

public int hashCode ()

public boolean isConnected ()