DJI Mobile SDK Documentation

      class LaserMeasureInformation

      class LaserMeasureInformation implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Laser measure information.

      Class Members:

      Members

      method getLocation3D
      LocationCoordinate3D getLocation3D()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Gets the location of the target point, including longitude, latitude and altitude.

      Return:
      LocationCoordinate3DReturns the location of the target point.
      method getDistance
      Double getDistance()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Gets the distance of the target point from the laser sensor. The target point must be at least 3m away from The laser sensor.

      Return:
      DoubleReturns the distance of the target point from the laser sensor.
      method getTargetPoint
      DoublePoint2D getTargetPoint()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Gets the position of the target point on the camera screen. Range of x and y: [0,100]. [0,0] represents the upper left corner of the camera screen, [100,100] represents the lower right corner of the camera screen.

      Return:
      DoublePoint2DReturns the position of the target point on the camera screen.
      method getLaserMeasureState
      LaserMeasureState getLaserMeasureState()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Gets the laser measure status.

      Return:
      LaserMeasureStateReturns the laser measure status.