Skip to main content

This class is used to provide the gimbal angle data.

class  GimbalAngleData

method getPitch

public float getPitch();

Description: Obtains the pitch value.

Input parameter: none.

Output parameter: the pitch value.

Relevant parameter none.

method setPitch

public void setPitch(float pitch);

Description: Sets the pitch value.

Input parameter: Sets the pitch value.

Output parameter: none.

Relevant parameter none.

method getYaw

public void getYaw();

Description: Obtains the yaw value.

Input parameter: none.

Output parameter: the yaw value.

Relevant parameter none.

method setYaw

public void setYaw(float yaw);

Description: Sets the yaw value.

Input parameter: the yaw value.

Output parameter: none.

Relevant parameter none.

method getRoll

public void getRoll();

Description: Obtains the roll value of the gimbal.

Input parameter: none.

Output parameter: the roll value of the gimbal.

Relevant parameter none.

method setRoll

public void setRoll(float roll);

Description: Sets the roll value of the gimbal.

Input parameter: the roll value of the gimbal.

Output parameter: none.

Relevant parameter none.