DJI Mobile SDK Documentation

      class RadarInformation

      class RadarInformation
      Package:dji.v5.manager.aircraft.perception.radar
      Description:

      Radar information, used to obtain the sub switch of radar obstacle avoidance.

      Supported since MSDK 5.1.0

      Class Members:

      Members

      method isConnected
      boolean isConnected()
      Package:dji.v5.manager.aircraft.perception.radar
      Description:

      Gets whether the radar is connected.

      Return:
      booleanReturns whether the radar is connected.
      method isUpwardObstacleAvoidanceEnabled
      boolean isUpwardObstacleAvoidanceEnabled()
      Package:dji.v5.manager.aircraft.perception.radar
      Description:

      Gets whether to turn on the radar obstacle avoidance upward switch.

      Return:
      booleanReturns whether to turn on the radar obstacle avoidance upward switch.
      method isHorizontalObstacleAvoidanceEnabled
      boolean isHorizontalObstacleAvoidanceEnabled()
      Package:dji.v5.manager.aircraft.perception.radar
      Description:

      Gets whether the horizontal switch of radar obstacle avoidance is turned on.

      Return:
      booleanReturns whether the horizontal switch of radar obstacle avoidance is turned on.