java.lang.Object | |
↳ | dji.common.flightcontroller.DJIIMUState |
This class contains current state of the DJI Inertial Measurement Unit(IMU) State.
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
|
Returns the state value of the Accelerator Sensor.
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.
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.