class DJIGravityCenterState
@interface DJIGravityCenterState : NSObject
|
Header: | DJIGravityCenterBaseTypes.h |
Inherits From: | NSObject |
Description:
This class provides the gravity state information.
Class Members:
Calibration State
property
property calibrationState
@property (nonatomic, readonly) DJIGravityCenterCalibrationState calibrationState
|
Header: | DJIGravityCenterBaseTypes.h |
Description:
The status of the gravity's calibration.
See Also:
DJIGravityCenterCalibrationState
Calibration Error
property
property calibrationError
@property (nonatomic, readonly, nullable) NSError *calibrationError
|
Header: | DJIGravityCenterBaseTypes.h |
Description:
Gets calibration errors. Returns nil
when gravity calibration is normal.
enum DJIGravityCenterCalibrationState
typedef NS_ENUM(NSInteger, DJIGravityCenterCalibrationState)
|
Header: | DJIGravityCenterBaseTypes.h |
Description:
Enum for gravity calibration State.
Enum Members:
DJIGravityCenterCalibrationStateNone | The aircraft is not calibrating the gravity center. |
DJIGravityCenterCalibrationStateCalibrating | The aircraft is calibrating the gravity center. |
DJIGravityCenterCalibrationStateSuccessful | The aircraft calibrates the gravity center successfully. |
DJIGravityCenterCalibrationStateFailed | The aircraft calibrates the gravity center failed. |
DJIGravityCenterCalibrationStateUnknown | Unknown calibration status. |