public final enum

DJICompassCalibrationStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.flightcontroller.DJICompassCalibrationStatus

Class Overview

An enum class representing compass calibration.

Summary

Enum Values
DJICompassCalibrationStatus  Failed  Compass calibration failed. 
DJICompassCalibrationStatus  Horizontal  Compass horizontal calibration. 
DJICompassCalibrationStatus  Normal  Normal state. 
DJICompassCalibrationStatus  Succeeded  Compass calibration succeeded. 
DJICompassCalibrationStatus  Vertical  Compass vertical calibration. 
Public Methods
boolean _equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
static DJICompassCalibrationStatus find(int b)
Returns the enum constant of this type with the specified integer value.
int value()
Returns the real value of an enum constant.
static DJICompassCalibrationStatus valueOf(String name)
final static DJICompassCalibrationStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJICompassCalibrationStatus Failed

Compass calibration failed. Make sure there are no magnets or metal objects near the compass and retry.

public static final DJICompassCalibrationStatus Horizontal

Compass horizontal calibration. The user should hold the aircraft horizontally and rotate it 360 degrees.

public static final DJICompassCalibrationStatus Normal

Normal state.

public static final DJICompassCalibrationStatus Succeeded

Compass calibration succeeded.

public static final DJICompassCalibrationStatus Vertical

Compass vertical calibration. The user should hold the aircraft vertically, with the nose point towards the ground, and rotate the aircraft 360 degrees.

Public Methods

public boolean _equals (int b)

Returns the boolean result which compare the input integer value with the real value of a enum constant.

Parameters
b The input integer value.
Returns
  • boolean The compared result.

public static DJICompassCalibrationStatus find (int b)

Returns the enum constant of this type with the specified integer value.

Parameters
b The integer value.
Returns
  • DJICompassCalibrationStatus The enum constant of this type.

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static DJICompassCalibrationStatus valueOf (String name)

public static final DJICompassCalibrationStatus[] values ()