DJI Payload SDK  1.5.3
Data Structures | Enumerations
psdk_cmdset_gimbal.h File Reference

This file defines payload sdk gimbal command set. More...

#include <psdk_typedef.h>
#include <psdk_core.h>

Go to the source code of this file.

Data Structures

struct  T_PsdkGimbalGetGimbalStateReq
 Get gimbal state command request data structure. More...
 
struct  T_PsdkGimbalGetGimbalStateAck
 Get gimbal state command ack data structure. More...
 
struct  T_PsdkGimbalSetGimbalModeReq
 Set gimbal mode command request data structure. More...
 
struct  T_PsdkGimbalSetGimbalModeAck
 Set gimbal mode command ack data structure. More...
 
struct  T_PsdkGimbalReturnHeadReq
 Control gimbal return head command request data structure. More...
 
struct  T_PsdkGimbalReturnHeadAck
 Control gimbal return head command ack data structure. More...
 
struct  T_PsdkGimbalControlSpeedReq
 Control gimbal angle speed command request data structure. More...
 
struct  T_PsdkGimbalControlSpeedAck
 Control gimbal angle speed command ack data structure. More...
 
struct  T_PsdkGimbalControlAngleReq
 Control gimbal angle command request data structure. More...
 
struct  T_PsdkGimbalControlAngleAck
 Control gimbal angle command ack data structure. More...
 
struct  T_PsdkGimbalControlJointAngleReq
 Control gimbal joint angle command request data structure. More...
 
struct  T_PsdkGimbalControlJointAngleAck
 Control gimbal joint angle command ack data structure. More...
 
struct  T_PsdkGimbalStartCalibrationReq
 Control gimbal calibration command request data structure. More...
 
struct  T_PsdkGimbalStartCalibrationAck
 Control gimbal calibration command ack data structure. More...
 
struct  T_PsdkGimbalGetCaliProgressReq
 Get gimbal calibration progress command request data structure. More...
 
struct  T_PsdkGimbalGetCaliProgressAck
 Get gimbal calibration progress command ack data structure. More...
 
struct  T_PsdkGimbalGetGimbalAdditionalStatusReq
 Get gimbal additional status command request data structure. More...
 
struct  T_PsdkGimbalGetGimbalAdditionalStatusAck
 Get gimbal additional status command ack data structure. More...
 
struct  T_PsdkGimbalSupportStateReq
 Get gimbal function support state command request data structure. More...
 
struct  T_PsdkGimbalSupportStateAck
 Get gimbal function support state command ack data structure. More...
 

Enumerations

enum  E_PsdkGimbalCmd {
  PSDK_GIMBAL_CMD_ID_GET_GIMBAL_PARAM = 0x01,
  PSDK_GIMBAL_CMD_ID_SET_GIMBAL_MODE = 0x02,
  PSDK_GIMBAL_CMD_ID_RETURN_HEAD = 0x03,
  PSDK_GIMBAL_CMD_ID_CONTROL_SPEED = 0x04,
  PSDK_GIMBAL_CMD_ID_CONTROL_ANGLE = 0x05,
  PSDK_GIMBAL_CMD_ID_CONTROL_JOINT_ANGLE = 0x06,
  PSDK_GIMBAL_CMD_ID_START_CALIBRATION = 0x07,
  PSDK_GIMBAL_CMD_ID_GET_CALIBRATION_PROGRESS = 0x08,
  PSDK_GIMBAL_CMD_ID_GET_GIMBAL_ADDITIONAL_STATUS = 0x09,
  PSDK_GIMBAL_CMD_ID_SUPPORT_STATE = 0xFF
}
 Gimbal Command ID. More...
 
enum  E_PsdkGimbalGimbalMode {
  PSDK_GIMBAL_GIMBAL_MODE_FREE = 0,
  PSDK_GIMBAL_GIMBAL_MODE_FPV = 1,
  PSDK_GIMBAL_GIMBAL_MODE_YAW_FOLLOW = 2
}
 Gimbal mode. More...
 
enum  E_PsdkGimbalCaliSts {
  PSDK_GIMBAL_CALI_CMPL = 0,
  PSDK_GIMBAL_CALI_PROC = 1,
  PSDK_GIMBAL_CALI_FAIL = 2
}
 Gimbal calibration status. More...
 

Detailed Description

This file defines payload sdk gimbal command set.

Version
V1.0.0
Date
2017/11/9

All information contained herein is, and remains, the property of DJI. The intellectual and technical concepts contained herein are proprietary to DJI and may be covered by U.S. and foreign patents, patents in process, and protected by trade secret or copyright law. Dissemination of this information, including but not limited to data and other proprietary material(s) incorporated within the information, in any form, is strictly prohibited without the express written consent of DJI.

If you receive this source code without DJI’s authorization, you may not further disseminate the information, and you must immediately remove the source code and notify DJI of its removal. DJI reserves the right to pursue legal actions against you for any loss(es) or damage(s) caused by your failure to do so.