public class

DJIVisionDetectionSector

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

Class Overview

The vision system can see in front of the aircraft with a 70 degree horizontal field of view (FOV) and 55 degree veritcal FOV. The horizontal FOV is split into four equal sectors, and this class gives the distance and warning level for one sector.

Summary

Public Constructors
DJIVisionDetectionSector(DJIVisionSectorWarning warningLevel, float distanceInMeter)
Public Methods
float getObstacleDistanceInMeters()
The detected obstacle distance to the aircraft in meters.
DJIVisionSectorWarning getWarningLevel()
The warning level based on distance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIVisionDetectionSector (DJIVisionSectorWarning warningLevel, float distanceInMeter)

Public Methods

public float getObstacleDistanceInMeters ()

The detected obstacle distance to the aircraft in meters.

public DJIVisionSectorWarning getWarningLevel ()

The warning level based on distance.