# class PerceptionInfo

    class PerceptionInfo

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

perception information，includes the switch status of obstacle avoidance, braking distance and warning distance.
`Supported since MSDK 5.0.0`

##### Class Members:

#### Members

method
getUpwardObstacleAvoidanceWorking

###### method getUpwardObstacleAvoidanceWorking

    Boolean getUpwardObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the upward vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the upward vision obstacle avoidance sensor is working.

method
getDownwardObstacleAvoidanceWorking

###### method getDownwardObstacleAvoidanceWorking

    Boolean getDownwardObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the downward vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the downward vision obstacle avoidance sensor is working.

method
getLeftSideObstacleAvoidanceWorking

###### method getLeftSideObstacleAvoidanceWorking

    Boolean getLeftSideObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the left side vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the left side vision obstacle avoidance sensor is working.

method
getRightSideObstacleAvoidanceWorking

###### method getRightSideObstacleAvoidanceWorking

    Boolean getRightSideObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the right side vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the right side vision obstacle avoidance sensor is working.

method
getForwardObstacleAvoidanceWorking

###### method getForwardObstacleAvoidanceWorking

    Boolean getForwardObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the forward vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the forward vision obstacle avoidance sensor is working.

method
getBackwardObstacleAvoidanceWorking

###### method getBackwardObstacleAvoidanceWorking

    Boolean getBackwardObstacleAvoidanceWorking()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the backward vision obstacle avoidance sensor is working.

##### Return:

Boolean | Return whether the backward vision obstacle avoidance sensor is working.

method
isUpwardObstacleAvoidanceEnabled

###### method isUpwardObstacleAvoidanceEnabled

    boolean isUpwardObstacleAvoidanceEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the upward vision switch of obstacle avoidance is turned on.

##### Return:

boolean | Return whether the upward vision switch of obstacle avoidance is turned on.

method
isDownwardObstacleAvoidanceEnabled

###### method isDownwardObstacleAvoidanceEnabled

    boolean isDownwardObstacleAvoidanceEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the downward vision switch of obstacle avoidance is turned on.

##### Return:

boolean | Return whether the downward vision switch of obstacle avoidance is turned on.

method
isHorizontalObstacleAvoidanceEnabled

###### method isHorizontalObstacleAvoidanceEnabled

    boolean isHorizontalObstacleAvoidanceEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the horizontal vision switch of obstacle avoidance is turned on.

##### Return:

boolean | Return whether the horizontal vision switch of obstacle avoidance is turned on.

method
getUpwardObstacleAvoidanceWarningDistance

###### method getUpwardObstacleAvoidanceWarningDistance

    double getUpwardObstacleAvoidanceWarningDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get upward vision warning distance of obstacle avoidance. Unit: meter.

##### Return:

double | Return upward vision warning distance of obstacle avoidance.

method
getDownwardObstacleAvoidanceWarningDistance

###### method getDownwardObstacleAvoidanceWarningDistance

    double getDownwardObstacleAvoidanceWarningDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get downward vision warning distance of obstacle avoidance. Unit: meter.

##### Return:

double | Return downward vision warning distance of obstacle avoidance.

method
getHorizontalObstacleAvoidanceWarningDistance

###### method getHorizontalObstacleAvoidanceWarningDistance

    double getHorizontalObstacleAvoidanceWarningDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get horizontal vision warning distance of obstacle avoidance. Unit: meter.

##### Return:

double | Return horizontal vision warning distance of obstacle avoidance.

method
getUpwardObstacleAvoidanceBrakingDistance

###### method getUpwardObstacleAvoidanceBrakingDistance

    double getUpwardObstacleAvoidanceBrakingDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get upward vision warning distance of braking avoidance. Unit: meter.

##### Return:

double | Return upward vision warning distance of braking avoidance.

method
getDownwardObstacleAvoidanceBrakingDistance

###### method getDownwardObstacleAvoidanceBrakingDistance

    double getDownwardObstacleAvoidanceBrakingDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get downward vision warning distance of braking avoidance. Unit: meter.

##### Return:

double | Return downward vision warning distance of braking avoidance.

method
getHorizontalObstacleAvoidanceBrakingDistance

###### method getHorizontalObstacleAvoidanceBrakingDistance

    double getHorizontalObstacleAvoidanceBrakingDistance()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get horizontal vision warning distance of braking avoidance. Unit: meter.

##### Return:

double | Return horizontal vision warning distance of braking avoidance.

method
isVisionPositioningEnabled

###### method isVisionPositioningEnabled

    boolean isVisionPositioningEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the vision positioning is opened.

##### Return:

boolean | Return whether the vision positioning is opened.

method
isPrecisionLandingEnabled

###### method isPrecisionLandingEnabled

    boolean isPrecisionLandingEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the precise positioning is opened.

##### Return:

boolean | Return whether the precise positioning is opened.

method
isOverallObstacleAvoidanceEnabled

###### method isOverallObstacleAvoidanceEnabled

    @Deprecated
     boolean isOverallObstacleAvoidanceEnabled()

Package: | dji.v5.manager.aircraft.perception.data

##### Description:

Get whether the main switch of obstacle avoidance is turned on.
Note: This interface has been deprecated since MSDK 5.1.0. Please call `getObstacleAvoidanceType` to get whether the obstacle avoidance switch is enabled. For millimeter wave radar accessories, you need to call `getObstacleAvoidanceEnabled` to get whether the obstacle avoidance switch is enabled.

##### Return:

boolean | Return whether the main switch of obstacle avoidance is turned on.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found