DJI Payload SDK  1.4.0
Functions | Variables
psdk_precise_survey.c File Reference

This file provides the API functions for handling those commands in precise surveying command set. More...

#include <psdk_precise_survey.h>
#include <psdk_cmdset_define/psdk_cmdset_precise_survey.h>

Functions

static E_PsdkStat PsdkPceSurveyCmd_GetPara (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle get precise survey parameters command. More...
 
static E_PsdkStat PsdkPceSurveyCmd_GetLoadPara (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Handle get payload parameters command. More...
 
static E_PsdkStat PsdkPceSurveyCmd_PushUtcTime (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive UTC time data. More...
 
static E_PsdkStat PsdkPceSurveyCmd_PushPpkOffset (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 Receive PPK offset data. More...
 
static E_PsdkStat PsdkPceSurvey_GetSupportState (struct _PsdkProt *protHandle, const T_PsdkProtInfo *inProtInfo, const uint8_t *inProtData)
 The function is used to get payload precise survey function support state. More...
 
E_PsdkStat PsdkPceSurvey_Init (T_PsdkUpper *psdkUpper, const T_PsdkPceSurveyHandler *pceSurveyHandler)
 Initialize PSDK precise survey commands handling. More...
 
E_PsdkStat PsdkPceSurvey_PositionAcquisition (T_PsdkUpper *psdkUpper, T_PceSurveyPosAcqReq *posAcqReq, T_PceSurveyPosAcqAck *posAcqAck)
 The function is used to request precise position of any point in payload. More...
 

Variables

static T_PsdkPceSurveyHandler s_pceSurveyHandler
 precise survey command callback function list and related configure parameters More...
 
static uint8_t s_isSupportPceSurvey = PSDK_PCESURVEY_NOT_SUPPORT
 precise survey function support state More...
 
static const T_PsdkProtCmdItem s_pceSurveyCmdList []
 Precise survey commands process function list. More...
 

Detailed Description

This file provides the API functions for handling those commands in precise surveying command set.

Version
V1.4.0
Date
2018/10/25

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.