java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJIFlightControllerNoFlyStatus |
This will return the status of the aircraft whether the aircraft is near the no fly zone or not.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIFlightControllerNoFlyStatus | ApproachingNoFlyZone | The aircraft is within 100m of a no fly zone boundary. | |||||||||
DJIFlightControllerNoFlyStatus | FlyingNormally | The aircraft is normally flying. | |||||||||
DJIFlightControllerNoFlyStatus | ForceAutoLanding | The aircraft is in a no fly zone, so it is executing a force landing. | |||||||||
DJIFlightControllerNoFlyStatus | HeightLimited | Some no fly zones have several areas. | |||||||||
DJIFlightControllerNoFlyStatus | ReachMaxFlyingDistance | The aircraft has reached its max flying distance. | |||||||||
DJIFlightControllerNoFlyStatus | ReachMaxFlyingHeight | The aircraft has reached its max flying height. | |||||||||
DJIFlightControllerNoFlyStatus | TakeOffProhibited | The aircraft is in a no fly zone, so take off is prohibited. | |||||||||
DJIFlightControllerNoFlyStatus | UnderLimitFlyZone | The aircraft is under limit fly zone, which means it's max flying height and distance are limited. | |||||||||
DJIFlightControllerNoFlyStatus | UnknownStatus | The aircraft's no fly status is unknown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
| ||||||||||
static DJIFlightControllerNoFlyStatus |
find(int b)
Returns the enum constant of this type with the input integer value.
| ||||||||||
int |
value()
Returns the real value of a enum constant.
| ||||||||||
static DJIFlightControllerNoFlyStatus | valueOf(String name) | ||||||||||
final static DJIFlightControllerNoFlyStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The aircraft is within 100m of a no fly zone boundary.
The aircraft is in a no fly zone, so it is executing a force landing.
Some no fly zones have several areas. A central area where no aircraft can fly or take off in, and then an intermediate area where flight height is restricted. This intermediate area can have a gradually relaxing height restriction as the aircraft moves further from the no fly zone center. If the aircarft is flying in this intermediate area, then the DJIFlightControllerNoFlyStatusHeightLimited enum will be used. Note, the no fly zone state update that alerts if an aircraft is within 100m of a no fly zone, will trigger to the outer most area of a multi-area no fly zone.
The aircraft has reached its max flying distance.
The aircraft has reached its max flying height.
The aircraft is in a no fly zone, so take off is prohibited.
The aircraft is under limit fly zone, which means it's max flying height and distance are limited. The limit fly zone is a restricted flight zone that the aircraft can not exceed the boundary defined the zone. An example for a limit fly zone can be refer to http://wiki.dji.com/en/index.php/Phantom_3_Professional-_Flight_Limits_and_No-Fly_Zones
The aircraft's no fly status is unknown.
Returns the boolean result which compare the input integer value with the real value of a enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type with the input integer value.
b | The input integer value. |
---|
Returns the real value of a enum constant.