DJI_Mission.h
Go to the documentation of this file.
00001 
00012 #ifndef DJI_MISSION_H
00013 #define DJI_MISSION_H
00014 
00015 #include "DJI_Config.h"
00016 #include "DJI_API.h"
00017 
00018 namespace DJI
00019 {
00020 namespace onboardSDK
00021 {
00022 #pragma pack(1)
00023 
00024 typedef struct HotPointACKData
00025 {
00026   uint8_t status;
00027   uint16_t radius; // in cm
00028   uint8_t failReasion;
00029   uint8_t yawRate;
00030 } HotPointADKData;
00031 
00033 typedef struct GSPushData
00034 {
00035   uint8_t type;
00036   uint8_t data_1;
00037   uint8_t data_2;
00038   uint8_t data_3;
00039   uint8_t data_4;
00040   uint8_t data_5;
00041 } GSPushData;
00042 
00043 #pragma pack()
00044 
00045 typedef struct MissionACKMap
00046 {
00047   uint8_t code;
00048   const char *meaning;
00049 } MissionACKMap;
00050 
00051 void missionCallback(CoreAPI *api, Header *protocolHeader, UserData userdata = 0);
00052 
00053 } // namespace onboardSDK
00054 } // namespace DJI
00055 
00056 #endif // DJI_MISSION_H


dji_sdk_lib
Author(s):
autogenerated on Thu Jun 6 2019 17:55:25