java.lang.Object | |
↳ | dji.common.flightcontroller.DJIRtkState |
This class holds the state of the RTK system including position, positioning solution and receiver information.
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
|
Altitude of the base station above sea level in meters.
Location of the base station in coordinates in degrees.
Direction defined by the vector formed from Antenna 2 to Antenna 1 on the mobile station.
Altitude of the mobile station's receiver 1 antenna relative to the base station location. Units are meters.
Location information of the mobile station's receiver 1 antenna. This location information is relative to the base station location and is in degrees.
Mobile station (aircraft) receiver 1 BeiDou info.
Mobile station (aircraft) receiver 1 GLONSS info.
Mobile station (aircraft) receiver 1 GPS info.
Mobile station (aircraft) receiver 2 BeiDou info.
Mobile station (aircraft) receiver 2 GLONSS info.
Mobile station (aircraft) receiver 2 GPS info.
The positioning solution informs the quality of the position. The most accurate position is obtained when a fixed point solution is returned.
true
if direction value is valid.
Whether the RTK is enabled or not.