DJI Mobile SDK Documentation

      class Velocity3D

      class Velocity3D implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.common
      Description:

      The current speed of the aircraft in the three directions of X, Y, and Z. Unit: second. Use the NED coordinate system.

      Class Members:

      Members

      method
      method getX
      Double getX()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the current speed in x direction of the aircraft.

      Return:
      DoubleCurrent speed in the x direction of the aircraft.
      method
      method setX
      void setX(Double x)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the current speed in the x direction of the aircraft.

      Input Parameters:
      Double xCurrent speed in the x direction of the aircraft.
      method
      method getY
      Double getY()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the current speed in the y direction of the aircraft.

      Return:
      DoubleCurrent speed in the y direction of the aircraft.
      method
      method setY
      void setY(Double y)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the current speed in the y direction of the aircraft.

      Input Parameters:
      Double yCurrent speed in the y direction of the aircraft.
      method
      method getZ
      Double getZ()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the current speed the in the z direction of the aircraft.

      Return:
      DoubleCurrent speed in the z direction of the aircraft.
      method
      method setZ
      void setZ(Double z)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the current speed in the z direction of the aircraft.

      Input Parameters:
      Double zCurrent speed in the z direction of the aircraft.