# 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
setPitch

###### method setPitch

    void setPitch(Double pitch)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the pitch axis control parameters.

##### Input Parameters:

Double pitch | Pitch axis control parameters.

method
getPitch

###### method getPitch

    Double getPitch()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the pitch axis control parameters.

##### Return:

Double | Returns the pitch axis control parameters.

method
setRoll

###### method setRoll

    void setRoll(Double roll)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the roll axis control parameters.

##### Input Parameters:

Double roll | Roll axis control parameters.

method
getRoll

###### method getRoll

    Double getRoll()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the pitch axis control parameters.

##### Return:

Double | Returns the roll axis control parameters.

method
setYaw

###### method setYaw

    void setYaw(Double yaw)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the yaw axis control parameters.

##### Input Parameters:

Double yaw | Yaw axis control parameters.

method
getYaw

###### method getYaw

    Double getYaw()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the yaw axis control parameters.

##### Return:

Double | Returns the pitch axis control parameters.

method
setVerticalThrottle

###### method setVerticalThrottle

    void setVerticalThrottle(Double verticalThrottle)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the vertical throttle axis control parameters.

##### Input Parameters:

Double verticalThrottle | Vertical throttle axis control parameters.

method
getVerticalThrottle

###### method getVerticalThrottle

    Double getVerticalThrottle()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the vertical throttle axis control parameters.

##### Return:

Double | Returns the vertical throttle axis control parameters.

method
setRollPitchControlMode

###### method setRollPitchControlMode

    void setRollPitchControlMode(RollPitchControlMode rollPitchControlMode)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the roll and pitch Control Modes.

##### Input Parameters:

RollPitchControlMode rollPitchControlMode | Roll and pitch Control Modes.

method
getRollPitchControlMode

###### method getRollPitchControlMode

    RollPitchControlMode getRollPitchControlMode()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the roll and pitch Control Modes.

##### Return:

RollPitchControlMode | Returns the roll and pitch Control Modes.

method
setRollPitchCoordinateSystem

###### 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 rollPitchCoordinateSystem | Coordinate system.

method
getRollPitchCoordinateSystem

###### 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:

FlightCoordinateSystem | Returns the coordinate system.

method
setYawControlMode

###### method setYawControlMode

    void setYawControlMode(YawControlMode yawControlMode)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the yaw Control Mode.

##### Input Parameters:

YawControlMode yawControlMode | Yaw control mode.

method
getYawControlMode

###### method getYawControlMode

    YawControlMode getYawControlMode()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the yaw Control Mode.

##### Return:

YawControlMode | Returns the yaw Control Mode.

method
setVerticalControlMode

###### method setVerticalControlMode

    void setVerticalControlMode(VerticalControlMode verticalControlMode)

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Sets the vertical Control Mode.

##### Input Parameters:

VerticalControlMode verticalControlMode | Vertical control mode.

method
getVerticalControlMode

###### method getVerticalControlMode

    VerticalControlMode getVerticalControlMode()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the vertical Control Mode.

##### Return:

VerticalControlMode | Retruns the vertical Control Mode.

##### Related:

enum
RollPitchControlMode

###### 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:

ANGLE | Angle mode.
VELOCITY | Velocity mode.

##### Class Members:

enum
YawControlMode

###### 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:

ANGLE | Angle mode.
ANGULAR_VELOCITY | Angular velocity mode.

##### Class Members:

enum
VerticalControlMode

###### 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:

VELOCITY | Velocity mode.
POSITION | Position mode.

##### Class Members:

class
VirtualStickRange
×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found