DJI Payload SDK  1.5.3
Data Fields
T_PsdkGimbalGetGimbalStateAck Struct Reference

Get gimbal state command ack data structure. More...

#include <psdk_cmdset_gimbal.h>

Data Fields

uint8_t ackCode
 
uint8_t gimbalMode
 
uint8_t isMountedUpwards: 1
 
uint8_t isYawLimit: 1
 
uint8_t isRollLimit: 1
 
uint8_t isPitchLimit: 1
 
uint8_t reserved: 4
 
int16_t pitch
 
int16_t roll
 
int16_t yaw
 

Detailed Description

Get gimbal state command ack data structure.

Field Documentation

◆ ackCode

uint8_t ackCode

Specifies PSDK command ack code. This parameter can be any value of E_PsdkCmdAckCode

◆ gimbalMode

uint8_t gimbalMode

This parameter can be any value of E_PsdkGimbalGimbalMode.

◆ isMountedUpwards

uint8_t isMountedUpwards

Specifies gimbal mounting direction. 0 represents downward mounting, 1 represents upward mounting.

◆ isYawLimit

uint8_t isYawLimit

Specifies whether YAW axis reaches limits.

◆ isRollLimit

uint8_t isRollLimit

Specifies whether ROLL axis reaches limits.

◆ isPitchLimit

uint8_t isPitchLimit

Specifies whether PITCH axis reaches limits.

◆ pitch

int16_t pitch

Specifies current PITCH axis angle, unit: 0.1 degree.

Note
The parameter refer to NED coordinate system.

◆ roll

int16_t roll

Specifies current ROLL axis angle, unit: 0.1 degree.

Note
The parameter refer to NED coordinate system.

◆ yaw

int16_t yaw

Specifies current YAW axis angle, unit: 0.1 degree.

Note
The parameter refer to NED coordinate system.

The documentation for this struct was generated from the following file: