public class

DJIRtkState

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

Class Overview

This class holds the state of the RTK system including position, positioning solution and receiver information.

Summary

Public Constructors
DJIRtkState()
DJIRtkState(DJIError error, DJIRTKPositioningSolution positioningState, DJIRTKReceiverInfo mainGpsChannel, DJIRTKReceiverInfo auxGpsChannel, DJIRTKReceiverInfo bsGpsChannel, DJIRTKReceiverInfo mainBeiDouChannel, DJIRTKReceiverInfo auxBeiDouChannel, DJIRTKReceiverInfo bsBeiDouChannel, DJIRTKReceiverInfo mainGlonassChannel, DJIRTKReceiverInfo auxGlonassChannel, DJIRTKReceiverInfo bsGlonassChannel, DJILocationCoordinate2D airSideLocation, float airSideAltitude, DJILocationCoordinate2D groundBsLocation, float groundBsAltitude, float direction, boolean isDirectionValid, boolean isRtkEnabled)
Public Methods
float getBaseStationAltitude()
Altitude of the base station above sea level in meters.
DJILocationCoordinate2D getBaseStationLocation()
Location of the base station in coordinates in degrees.
DJIRTKReceiverInfo getBaseStationReceiverBeiDouInfo()
Base station receiver BeiDou info.
DJIRTKReceiverInfo getBaseStationReceiverGlonassInfo()
Base station receiver glonass info.
DJIRTKReceiverInfo getBaseStationReceiverGpsInfo()
Base station receiver GPS info.
float getDirection()
Direction defined by the vector formed from Antenna 2 to Antenna 1 on the mobile station.
DJIError getError()
RTK error.
float getMobileStationAntenna1Altitude()
Altitude of the mobile station's receiver 1 antenna relative to the base station location.
DJILocationCoordinate2D getMobileStationAntenna1Location()
Location information of the mobile station's receiver 1 antenna.
DJIRTKReceiverInfo getMobileStationReceiver1BeiDouInfo()
Mobile station (aircraft) receiver 1 BeiDou info.
DJIRTKReceiverInfo getMobileStationReceiver1GlonassInfo()
Mobile station (aircraft) receiver 1 GLONSS info.
DJIRTKReceiverInfo getMobileStationReceiver1GpsInfo()
Mobile station (aircraft) receiver 1 GPS info.
DJIRTKReceiverInfo getMobileStationReceiver2BeiDouInfo()
Mobile station (aircraft) receiver 2 BeiDou info.
DJIRTKReceiverInfo getMobileStationReceiver2GlonassInfo()
Mobile station (aircraft) receiver 2 GLONSS info.
DJIRTKReceiverInfo getMobileStationReceiver2GpsInfo()
Mobile station (aircraft) receiver 2 GPS info.
DJIRTKPositioningSolution getPositioningSolution()
The positioning solution informs the quality of the position.
boolean isDirectionValid()
true if direction value is valid.
boolean isRtkEnabled()
Whether the RTK is enabled or not.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIRtkState ()

public DJIRtkState (DJIError error, DJIRTKPositioningSolution positioningState, DJIRTKReceiverInfo mainGpsChannel, DJIRTKReceiverInfo auxGpsChannel, DJIRTKReceiverInfo bsGpsChannel, DJIRTKReceiverInfo mainBeiDouChannel, DJIRTKReceiverInfo auxBeiDouChannel, DJIRTKReceiverInfo bsBeiDouChannel, DJIRTKReceiverInfo mainGlonassChannel, DJIRTKReceiverInfo auxGlonassChannel, DJIRTKReceiverInfo bsGlonassChannel, DJILocationCoordinate2D airSideLocation, float airSideAltitude, DJILocationCoordinate2D groundBsLocation, float groundBsAltitude, float direction, boolean isDirectionValid, boolean isRtkEnabled)

Public Methods

public float getBaseStationAltitude ()

Altitude of the base station above sea level in meters.

public DJILocationCoordinate2D getBaseStationLocation ()

Location of the base station in coordinates in degrees.

public DJIRTKReceiverInfo getBaseStationReceiverBeiDouInfo ()

Base station receiver BeiDou info.

public DJIRTKReceiverInfo getBaseStationReceiverGlonassInfo ()

Base station receiver glonass info.

public DJIRTKReceiverInfo getBaseStationReceiverGpsInfo ()

Base station receiver GPS info.

public float getDirection ()

Direction defined by the vector formed from Antenna 2 to Antenna 1 on the mobile station.

public DJIError getError ()

RTK error.

public float getMobileStationAntenna1Altitude ()

Altitude of the mobile station's receiver 1 antenna relative to the base station location. Units are meters.

public DJILocationCoordinate2D getMobileStationAntenna1Location ()

Location information of the mobile station's receiver 1 antenna. This location information is relative to the base station location and is in degrees.

public DJIRTKReceiverInfo getMobileStationReceiver1BeiDouInfo ()

Mobile station (aircraft) receiver 1 BeiDou info.

public DJIRTKReceiverInfo getMobileStationReceiver1GlonassInfo ()

Mobile station (aircraft) receiver 1 GLONSS info.

public DJIRTKReceiverInfo getMobileStationReceiver1GpsInfo ()

Mobile station (aircraft) receiver 1 GPS info.

public DJIRTKReceiverInfo getMobileStationReceiver2BeiDouInfo ()

Mobile station (aircraft) receiver 2 BeiDou info.

public DJIRTKReceiverInfo getMobileStationReceiver2GlonassInfo ()

Mobile station (aircraft) receiver 2 GLONSS info.

public DJIRTKReceiverInfo getMobileStationReceiver2GpsInfo ()

Mobile station (aircraft) receiver 2 GPS info.

public DJIRTKPositioningSolution getPositioningSolution ()

The positioning solution informs the quality of the position. The most accurate position is obtained when a fixed point solution is returned.

public boolean isDirectionValid ()

true if direction value is valid.

public boolean isRtkEnabled ()

Whether the RTK is enabled or not.