DJI Mobile SDK Documentation

      class DJIFlightAssistantObstacleAvoidanceSensorState

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

      Current state of obstacle avoidance sensor.

      Class Members:
      Upward Obstacle Avoidance Sensor
      property
      property isUpwardVisualObstacleAvoidanceSensorWorking
      @property(nonatomic, assign) BOOL isUpwardVisualObstacleAvoidanceSensorWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if upward visual obstacle avoidance sensor is working.

      property isUpwardVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isUpwardVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the upward visual obstacle avoidance sensor is enabled or not.

      LeftSide Obstacle Avoidance Sensor
      property
      property isLeftSideVisualObstacleAvoidanceSensorWorking
      @property(nonatomic, assign) BOOL isLeftSideVisualObstacleAvoidanceSensorWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if right side visual obstacle avoidance sensor is working.

      property isLeftSideVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isLeftSideVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the left side visual obstacle avoidance sensor is enabled or not.

      RightSide Obstacle Avoidance Sensor
      property
      property isRightSideVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isRightSideVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the right side visual obstacle avoidance sensor is enabled or not.

      Backward Obstacle Avoidance Sensor
      property
      property isBackwardVisualObstacleAvoidanceSensorWorking
      @property(nonatomic, assign) BOOL isBackwardVisualObstacleAvoidanceSensorWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if backward visual obstacle avoidance sensor is working.

      property isBackwardVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isBackwardVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the backward visual obstacle avoidance sensor is enabled or not.

      Forward Obstacle Avoidance Sensor
      property
      property isForwardVisualObstacleAvoidanceSensorWorking
      @property(nonatomic, assign) BOOL isForwardVisualObstacleAvoidanceSensorWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if forward visual obstacle avoidance sensor is working.

      property isForwardVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isForwardVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the forward visual obstacle avoidance sensor is enabled or not.

      Downward Obstacle Avoidance Sensor
      property
      property isDownwardVisualObstacleAvoidanceSensorWorking
      @property(nonatomic, assign) BOOL isDownwardVisualObstacleAvoidanceSensorWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if downward visual obstacle avoidance sensor is working.

      property isDownwardVisualObstacleAvoidanceSensorEnabled
      @property(nonatomic, assign) BOOL isDownwardVisualObstacleAvoidanceSensorEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the downward visual obstacle avoidance sensor is enabled or not.

      Obstacle Avoidance Sensors In Vertical Direction
      property
      property isVisualObstacleAvoidanceSensorsInVerticalDirectionWorking
      @property(nonatomic, assign) BOOL isVisualObstacleAvoidanceSensorsInVerticalDirectionWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if visual obstacle avoidance sensors in vertical direction are working.

      Obstacle Avoidance Sensors In Horizontal Direction
      property
      property isVisualObstacleAvoidanceSensorInHorizontalDirectionWorking
      @property(nonatomic, assign) BOOL isVisualObstacleAvoidanceSensorInHorizontalDirectionWorking
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Determines if visual obstacle avoidance sensors in horizontal direction are working.

      Obstacle Avoidance Sensor In Vertical Direction
      property
      property isVisualObstacleAvoidanceSensorInVerticalDirectionEnabled
      @property(nonatomic, assign) BOOL isVisualObstacleAvoidanceSensorInVerticalDirectionEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the visual obstacle avoidance sensors in vertical direction are enabled or not.

      Obstacle Avoidance Sensor In Horizontal Direction
      property
      property isVisualObstacleAvoidanceSensorsInHorizontalDirectionEnabled
      @property(nonatomic, assign) BOOL isVisualObstacleAvoidanceSensorsInHorizontalDirectionEnabled
      Header:DJIFlightAssistantObstacleAvoidanceSensorState.h
      Description:

      Whether the visual obstacle avoidance sensors in horizontal direction are enabled or not.