DJIRTKState
@interface DJIRTKState : NSObject
This class holds the state of the RTK system including position, positioning solution and receiver information.
-
RTK error if there is any. Returns
nilwhen RTK is normal.Declaration
Objective-C
@property (readonly, nonatomic) NSError *_Nullable error; -
The positioning solution informs the quality of the position. The most accurate position is obtained when a fixed point solution is returned.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKPositioningSolution solution; -
Mobile station (aircraft) receiver 1 GPS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver1GPSInfo; -
Mobile station (aircraft) receiver 1 BeiDou info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver1BeiDouInfo; -
Mobile station (aircraft) receiver 1 GLONSS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver1GLONASSInfo; -
Mobile station (aircraft) receiver 2 GPS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver2GPSInfo; -
Mobile station (aircraft) receiver 2 BeiDou info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver2BeiDouInfo; -
Mobile station (aircraft) receiver 2 GLONASS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull mobileStationReceiver2GLONASSInfo; -
Base station receiver GPS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull baseStationReceiverGPSInfo; -
Base station receiver BeiDou info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull baseStationReceiverBeiDouInfo; -
Base station receiver GLONASS info.
Declaration
Objective-C
@property (readonly, nonatomic) DJIRTKReceiverInfo *_Nonnull baseStationReceiverGLONASSInfo; -
Location information of the mobile station’s receiver 1 antenna.
Declaration
Objective-C
@property (readonly, nonatomic) CLLocationCoordinate2D mobileStationAntenna1Location; -
Altitude of the mobile station’s receiver 1 antenna relative to sea level. Units are meters.
Declaration
Objective-C
@property (readonly, nonatomic) float mobileStationAntenna1Altitude; -
Location of the base station in coordinates in degrees.
Declaration
Objective-C
@property (readonly, nonatomic) CLLocationCoordinate2D baseStationLocation; -
Altitude of the base station above sea level in meters.
Declaration
Objective-C
@property (readonly, nonatomic) float baseStationAltitude; -
Heading relative to True Noth defined by the vector formed from Antenna 2 to Antenna 1 on the mobile station. Unit is degrees.
Declaration
Objective-C
@property (readonly, nonatomic) float heading; -
YESif heading value is valid. Heading is not valid when a satellite fix hasn’t been obtained.Declaration
Objective-C
@property (readonly, nonatomic) BOOL isHeadingValid; -
Whether the RTK is enabled.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isRTKEnabled;
View on GitHub
DJIRTKState Class Reference