| java.lang.Object | |
| ↳ | dji.common.flightcontroller.DJIVisionControlState |
This class gives the aircraft's state controlled by the intelligent flight assistant.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJIVisionControlState(DJIVisionLandingProtectionStatus landingProtectionState, boolean isLandingPrecisely, boolean isBraking, boolean isRoofLimitationReached, boolean isAvoidingActiveObstacleCollision) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
isAscentLimitedByObstacle()
trueif the aircraft will not ascend further because of an obstacle
detected within 1m above it. | ||||||||||
| boolean |
isAvoidingActiveObstacleCollision()
true | ||||||||||
| boolean |
isBraking()
true | ||||||||||
| boolean |
isPerformingPrecisionLanding()
true | ||||||||||
| DJIVisionLandingProtectionStatus |
landingProtectionStatus()
Gets the aircraft's landing protection state.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
trueif the aircraft will not ascend further because of an obstacle
detected within 1m above it.
trueif the aircraft is avoiding collision from an obstacle moving towards
the aircraft.
true if the aircraft is braking automatically to avoid collision.
true if the aircraft is landing precisely.
Gets the aircraft's landing protection state. This status is valid when the landing protection is enabled;