Onboard-SDK-ROS
Classes | Namespaces | Macros | Typedefs | Variables
DJI_Type.h File Reference
#include "DJI_Config.h"
#include "DJICommonType.h"
#include <stdio.h>

Go to the source code of this file.

Classes

struct  DJI::onboardSDK::Header
 
struct  DJI::onboardSDK::CallBackHandler
 
struct  DJI::onboardSDK::Command
 
struct  DJI::onboardSDK::SDKFilter
 
struct  DJI::onboardSDK::MMU_Tab
 
struct  DJI::onboardSDK::CMDSession
 
struct  DJI::onboardSDK::ACKSession
 
struct  DJI::onboardSDK::Ack
 
struct  DJI::onboardSDK::GimbalAngleData
 
struct  DJI::onboardSDK::GimbalSpeedData
 
struct  DJI::onboardSDK::QuaternionData
 
struct  DJI::onboardSDK::CommonData
 
struct  DJI::onboardSDK::Vector3fData
 
struct  DJI::onboardSDK::VelocityData
 
struct  DJI::onboardSDK::PositionData
 
struct  DJI::onboardSDK::RadioData
 
struct  DJI::onboardSDK::RCData
 
struct  DJI::onboardSDK::MagnetData
 
struct  DJI::onboardSDK::MagData
 
struct  DJI::onboardSDK::GPSPositionData
 
struct  DJI::onboardSDK::CtrlInfoData
 
struct  DJI::onboardSDK::TimeStampData
 
struct  DJI::onboardSDK::GimbalData
 
struct  DJI::onboardSDK::TaskData
 
struct  DJI::onboardSDK::RTKData
 
struct  DJI::onboardSDK::GPSData
 
struct  DJI::onboardSDK::BroadcastData
 
struct  DJI::onboardSDK::VirtualRCSetting
 
struct  DJI::onboardSDK::VirtualRCData
 

Namespaces

 DJI
 

Macros

#define NAME(x)   #x
 
#define __UNUSED
 
#define __DELETE(x)   delete x
 
#define API_LOG(driver, title, fmt, ...)
 
#define DEBUG_LOG   0
 
#define ERROR_LOG   "ERROR"
 
#define BUFFER_LOG   0
 
#define STATUS_LOG   "STATUS"
 
#define MISSION_LOG   0
 
#define RTK_LOG   0
 
#define PRO_PURE_DATA_MAX_SIZE   1007
 

Typedefs

typedef struct DJI::onboardSDK::Header DJI::onboardSDK::Header
 
typedef void(* DJI::onboardSDK::CallBack) (DJI::onboardSDK::CoreAPI *, Header *, UserData)
 
typedef struct DJI::onboardSDK::CallBackHandler DJI::onboardSDK::CallBackHandler
 
typedef struct DJI::onboardSDK::Command DJI::onboardSDK::Command
 
typedef struct DJI::onboardSDK::SDKFilter DJI::onboardSDK::SDKFilter
 
typedef struct DJI::onboardSDK::MMU_Tab DJI::onboardSDK::MMU_Tab
 
typedef struct DJI::onboardSDK::CMDSession DJI::onboardSDK::CMDSession
 
typedef struct DJI::onboardSDK::ACKSession DJI::onboardSDK::ACKSession
 
typedef struct DJI::onboardSDK::Ack DJI::onboardSDK::Ack
 
typedef uint8_t DJI::onboardSDK::BatteryData
 
typedef uint8_t DJI::onboardSDK::MissionACK
 
typedef struct DJI::onboardSDK::GimbalAngleData DJI::onboardSDK::GimbalAngleData
 
typedef struct DJI::onboardSDK::GimbalSpeedData DJI::onboardSDK::GimbalSpeedData
 
typedef float DJI::onboardSDK::float32_t
 
typedef double DJI::onboardSDK::float64_t
 
typedef struct DJI::onboardSDK::QuaternionData DJI::onboardSDK::QuaternionData
 
typedef struct DJI::onboardSDK::CommonData DJI::onboardSDK::CommonData
 
typedef struct DJI::onboardSDK::Vector3fData DJI::onboardSDK::Vector3fData
 
typedef struct DJI::onboardSDK::VelocityData DJI::onboardSDK::VelocityData
 
typedef struct DJI::onboardSDK::PositionData DJI::onboardSDK::PositionData
 
typedef struct DJI::onboardSDK::RadioData DJI::onboardSDK::RadioData
 
typedef struct DJI::onboardSDK::RCData DJI::onboardSDK::RCData
 
typedef struct DJI::onboardSDK::MagnetData DJI::onboardSDK::MagnetData
 
typedef struct DJI::onboardSDK::MagData DJI::onboardSDK::MagData
 
typedef struct DJI::onboardSDK::GPSPositionData DJI::onboardSDK::GPSPositionData
 
typedef struct DJI::onboardSDK::CtrlInfoData DJI::onboardSDK::CtrlInfoData
 
typedef struct DJI::onboardSDK::TimeStampData DJI::onboardSDK::TimeStampData
 
typedef struct DJI::onboardSDK::GimbalData DJI::onboardSDK::GimbalData
 
typedef uint8_t DJI::onboardSDK::FlightStatus
 
typedef struct DJI::onboardSDK::TaskData DJI::onboardSDK::TaskData
 
typedef struct DJI::onboardSDK::RTKData DJI::onboardSDK::RTKData
 
typedef struct DJI::onboardSDK::GPSData DJI::onboardSDK::GPSData
 
typedef struct DJI::onboardSDK::BroadcastData DJI::onboardSDK::BroadcastData
 
typedef struct DJI::onboardSDK::VirtualRCSetting DJI::onboardSDK::VirtualRCSetting
 
typedef struct DJI::onboardSDK::VirtualRCData DJI::onboardSDK::VirtualRCData
 

Variables

const size_t DJI::onboardSDK::bufsize = 1024
 
char DJI::onboardSDK::buffer []
 
uint8_t DJI::onboardSDK::encrypt = 0
 
const size_t DJI::onboardSDK::SESSION_TABLE_NUM = 32
 
const size_t DJI::onboardSDK::CALLBACK_LIST_NUM = 10
 
const size_t MMU_TABLE_NUM = 32
 

Detailed Description

Version
3.1.7
Date
Jul 01 2016

Type definition for DJI onboardSDK library Officially Maintained

Macro Definition Documentation

#define API_LOG (   driver,
  title,
  fmt,
  ... 
)
Value:
if ((title)) \
{ \
int len = (sprintf(DJI::onboardSDK::buffer, "%s %s,line %d: " fmt, \
(title) ? (title) : "NONE", __func__, __LINE__, ##__VA_ARGS__)); \
if ((len != -1) && (len < 1024)) \
(driver)->displayLog(); \
else \
(driver)->displayLog("ERROR: log printer inner fault\n"); \
}
Todo:
fix warning.
#define NAME (   x)    #x
Attention
Do not modify any definition in this file if you are not sure what are you doing. DJI will not provide any support for changes made to this file.

Typedef Documentation

Warning
this struct will be deprecated in the next release and renamed to Vector3fData. Use Vector3fData instead.
Todo:
rename to a final version
Note
This struct is provided as a means for users to provide sigle GPS points to the SDK. It does not follow standard SDK GPS datatypes. This may change in a future release.
Note
This struct will replace MagnetData in the next release.
Warning
the 'MagnetData' struct will be deprecated in the next release and renamed to MagData. Use MagData instead.
Warning
this struct will be renamed in a future release.
Warning
the 'RadioData' struct will be deprecated in the next release and renamed to RCData. Use RCData instead.
Note
This struct will replace RadioData in the next release.
Todo:
rename to a final version
Warning
this struct will be renamed in a future release.
Note
this struct will replace CommonData in the next release. Eigen-like naming convention