class AirSenseAirplaneState
class AirSenseAirplaneState implements DJIValue , JNIProguardKeepTag , ByteStream
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
The AirSense state of an airplane.
Class Members:
Members
method getCode
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the unique code (ICAO) of the airplane.
Return:
String Returns The unique code (ICAO) of the airplane.
method getWarningLevel
AirSenseWarningLevel getWarningLevel ()
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the warning level determined by DJI AirSense system.
Return:
method getRelativeDirection
AirSenseDirection getRelativeDirection ()
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the direction of the airplane relative to the DJI aircraft.
Return:
method getHeading
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the heading of the airplane.
Return:
Double Returns the heading of the airplane.
method getDistance
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the distance between the airplane and DJI aircraft in meters.
Return:
Integer Returns the distance between the airplane and DJI aircraft in meters.
method getLatitude
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the latitude of the airplane's position.
Return:
Double Returns the latitude of the airplane's position.
method getLongitude
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the longitude of the airplane's position.
Return:
Double Returns the longitude of the airplane's position.
method getAbsoluteAltitude
Double getAbsoluteAltitude ()
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the altitude of the airplane, unit: meter. For airplane of flight safety, this is the altitude after offset confusion, for reference only.
Return:
Double Returns the altitude of the airplane.
method getAltitude
Package: dji.sdk.keyvalue.value.flightcontroller
Description:
Gets the relative altitude between the airplane and the DJI aircraft, unit: meter. For reasons of airplane flight safety, this is the altitude after offset confusion, for reference only.
Return:
Double Returns the relative altitude between the airplane and the DJI aircraft