DJI Mobile SDK Documentation

      class VirtualStickFlightControlParam

      class VirtualStickFlightControlParam implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Virtual stick advanced control parameters.

      Supported since MSDK 5.1.0

      Class Members:
      method
      method setPitch
      void setPitch(Double pitch)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the pitch axis control parameters.

      Input Parameters:
      Double pitchPitch axis control parameters.
      method
      method getPitch
      Double getPitch()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the pitch axis control parameters.

      Return:
      DoubleReturns the pitch axis control parameters.
      method
      method setRoll
      void setRoll(Double roll)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the roll axis control parameters.

      Input Parameters:
      Double rollRoll axis control parameters.
      method
      method getRoll
      Double getRoll()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the pitch axis control parameters.

      Return:
      DoubleReturns the roll axis control parameters.
      method
      method setYaw
      void setYaw(Double yaw)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the yaw axis control parameters.

      Input Parameters:
      Double yawYaw axis control parameters.
      method
      method getYaw
      Double getYaw()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the yaw axis control parameters.

      Return:
      DoubleReturns the pitch axis control parameters.
      method setVerticalThrottle
      void setVerticalThrottle(Double verticalThrottle)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the vertical throttle axis control parameters.

      Input Parameters:
      Double verticalThrottleVertical throttle axis control parameters.
      method getVerticalThrottle
      Double getVerticalThrottle()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the vertical throttle axis control parameters.

      Return:
      DoubleReturns the vertical throttle axis control parameters.
      method setRollPitchControlMode
      void setRollPitchControlMode(RollPitchControlMode rollPitchControlMode)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the roll and pitch Control Modes.

      Input Parameters:
      RollPitchControlMode rollPitchControlModeRoll and pitch Control Modes.
      method getRollPitchControlMode
      RollPitchControlMode getRollPitchControlMode()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the roll and pitch Control Modes.

      Return:
      RollPitchControlModeReturns the roll and pitch Control Modes.
      method setRollPitchCoordinateSystem
      void setRollPitchCoordinateSystem(FlightCoordinateSystem rollPitchCoordinateSystem)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the coordinate system. This coordinate system only acts on the roll and pitch in the advanced mode of the virtual stick.

      Input Parameters:
      FlightCoordinateSystem rollPitchCoordinateSystemCoordinate system.
      method getRollPitchCoordinateSystem
      FlightCoordinateSystem getRollPitchCoordinateSystem()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the coordinate system. This coordinate system only acts on the roll and pitch in the advanced mode of the virtual stick.

      Return:
      FlightCoordinateSystemReturns the coordinate system.
      method setYawControlMode
      void setYawControlMode(YawControlMode yawControlMode)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the yaw Control Mode.

      Input Parameters:
      YawControlMode yawControlModeYaw control mode.
      method getYawControlMode
      YawControlMode getYawControlMode()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the yaw Control Mode.

      Return:
      YawControlModeReturns the yaw Control Mode.
      method setVerticalControlMode
      void setVerticalControlMode(VerticalControlMode verticalControlMode)
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Sets the vertical Control Mode.

      Input Parameters:
      VerticalControlMode verticalControlModeVertical control mode.
      method getVerticalControlMode
      VerticalControlMode getVerticalControlMode()
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Gets the vertical Control Mode.

      Return:
      VerticalControlModeRetruns the vertical Control Mode.
      enum RollPitchControlMode
      enum RollPitchControlMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The control mode of the roll and pitch in the advanced mode of the virtual stick.

      Enum Members:
      ANGLEAngle mode.
      VELOCITYVelocity mode.
      Class Members:
      enum YawControlMode
      enum YawControlMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The control mode of the yaw in the advanced mode of the virtual stick.

      Enum Members:
      ANGLEAngle mode.
      ANGULAR_VELOCITYAngular velocity mode.
      Class Members:
      enum VerticalControlMode
      enum VerticalControlMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The control mode of the vertical in the advanced mode of the virtual stick.

      Enum Members:
      VELOCITYVelocity mode.
      POSITIONPosition mode.
      Class Members: