DJI Mobile SDK Documentation

      class DJIFlightAssistantPerceptionInformation

      @interface DJIFlightAssistantPerceptionInformation : NSObject
      Header:DJIFlightAssistantPerceptionInformation.h
      Inherits From:NSObject
      Description:

      This class contains the aircraft's perception information. It is supported only by Matrice 300 RTK.

      Class Members:
      Pack Count
      property
      property dataPackageIndex
      @property(nonatomic, readonly) NSUInteger dataPackageIndex
      Header:DJIFlightAssistantPerceptionInformation.h
      Description:

      The perception package count.

      Horizontal Object Count
      property
      property horizontalObjectCount
      @property(nonatomic, readonly) NSUInteger horizontalObjectCount
      Header:DJIFlightAssistantPerceptionInformation.h
      Description:

      Distance value detected away from the obstacles are at an interval of angle around the aircraft in 360 degrees horizontally.

      Distance Array
      property
      property distanceArray
      @property(nonatomic, readonly) NSArray<NSNumber*>* distanceArray
      Header:DJIFlightAssistantPerceptionInformation.h
      Description:

      Each value represents the distance in millimeters away from the obstacles detected around in 360 degrees horizontally at an interval of angle. Please refer to dataPackageIndex to get the interval of angle. 0 degree points to the aircraft's heading. 90 degrees point to the right of the aircraft. 180 degrees point to the aircraft's tail.

      Upward Obstacle Distance
      property
      property upwardObstacleDistance
      @property(nonatomic, readonly) NSUInteger upwardObstacleDistance
      Header:DJIFlightAssistantPerceptionInformation.h
      Description:

      The upward obstacle distance.

      Downward Obstacle Distance
      property
      property downwardObstacleDistance
      @property(nonatomic, readonly) NSUInteger downwardObstacleDistance
      Header:DJIFlightAssistantPerceptionInformation.h
      Description:

      The downward obstacle distance.