DJI Payload SDK  1.5.0
Functions
Private functions

Functions

static E_PsdkStat GimbalCmd_GetGimbalState (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Get Gimbal State command. More...
 
static E_PsdkStat GimbalCmd_SetGimbalMode (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Set Gimbal Mode command. More...
 
static E_PsdkStat GimbalCmd_ReturnHead (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Gimbal Return Head command. More...
 
static E_PsdkStat GimbalCmd_ControlSpeed (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Control Gimbal Angle Speed command. More...
 
static E_PsdkStat GimbalCmd_ControlAngle (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle control gimbal angle command. More...
 
static E_PsdkStat GimbalCmd_ControlJointAngle (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle control gimbal joint angle command. More...
 
static E_PsdkStat GimbalCmd_StartCalibration (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Gimbal Calibration command. More...
 
static E_PsdkStat GimbalCmd_GetCaliProgress (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Get Gimbal Calibration Progress command. More...
 
static E_PsdkStat GimbalCmd_SupportState (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle Get Gimbal Command Set Support State command. More...
 

Detailed Description

Function Documentation

◆ GimbalCmd_GetGimbalState()

static E_PsdkStat GimbalCmd_GetGimbalState ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Get Gimbal State command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_SetGimbalMode()

static E_PsdkStat GimbalCmd_SetGimbalMode ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Set Gimbal Mode command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_ReturnHead()

static E_PsdkStat GimbalCmd_ReturnHead ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Gimbal Return Head command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_ControlSpeed()

static E_PsdkStat GimbalCmd_ControlSpeed ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Control Gimbal Angle Speed command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_ControlAngle()

static E_PsdkStat GimbalCmd_ControlAngle ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle control gimbal angle command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_ControlJointAngle()

static E_PsdkStat GimbalCmd_ControlJointAngle ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle control gimbal joint angle command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_StartCalibration()

static E_PsdkStat GimbalCmd_StartCalibration ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Gimbal Calibration command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_GetCaliProgress()

static E_PsdkStat GimbalCmd_GetCaliProgress ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Get Gimbal Calibration Progress command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.

◆ GimbalCmd_SupportState()

static E_PsdkStat GimbalCmd_SupportState ( struct _PsdkProt *  protHandle,
const T_PsdkProtInfo *  inProtInfo,
const uint8_t *  inProtData 
)
static

Handle Get Gimbal Command Set Support State command.

Parameters
protHandlePointer to PSDK protocol handle.
inProtInfoPointer to PSDK protocol information of data package.
inProtDataPointer to data field of package.
Returns
PSDK function process state.