public class

DJIVisionControlState

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

Class Overview

This class gives the aircraft's state controlled by the intelligent flight assistant.

Summary

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()
trueif the aircraft is avoiding collision from an obstacle moving towards the aircraft.
boolean isBraking()
true if the aircraft is braking automatically to avoid collision.
boolean isPerformingPrecisionLanding()
true if the aircraft is landing precisely.
DJIVisionLandingProtectionStatus landingProtectionStatus()
Gets the aircraft's landing protection state.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIVisionControlState (DJIVisionLandingProtectionStatus landingProtectionState, boolean isLandingPrecisely, boolean isBraking, boolean isRoofLimitationReached, boolean isAvoidingActiveObstacleCollision)

Public Methods

public boolean isAscentLimitedByObstacle ()

trueif the aircraft will not ascend further because of an obstacle detected within 1m above it.

public boolean isAvoidingActiveObstacleCollision ()

trueif the aircraft is avoiding collision from an obstacle moving towards the aircraft.

public boolean isBraking ()

true if the aircraft is braking automatically to avoid collision.

public boolean isPerformingPrecisionLanding ()

true if the aircraft is landing precisely.

public DJIVisionLandingProtectionStatus landingProtectionStatus ()

Gets the aircraft's landing protection state. This status is valid when the landing protection is enabled;

Returns
  • LandingProtectionState which will show the state of landing protection.