Classes | Namespaces | Defines | Typedefs | Variables
DJI_Type.h File Reference

Type definition for DJI onboardSDK library. Officially Maintained. More...

#include "DJI_Config.h"
#include "DJICommonType.h"
#include <stdio.h>
#include <exception>
#include <stdexcept>
Include dependency graph for DJI_Type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DJI::onboardSDK::Ack
struct  DJI::onboardSDK::ACKSession
struct  DJI::onboardSDK::ActivateData
struct  DJI::onboardSDK::BroadcastData
struct  DJI::onboardSDK::CallBackHandler
 The CallBackHandler struct allows users to encapsulate callbacks and data in one struct. More...
struct  DJI::onboardSDK::CMDSession
struct  DJI::onboardSDK::Command
struct  DJI::onboardSDK::CommonData
struct  DJI::onboardSDK::CtrlInfoData
struct  DJI::onboardSDK::DroneVersionACK
struct  DJI::onboardSDK::GimbalAngleData
struct  DJI::onboardSDK::GimbalData
struct  DJI::onboardSDK::GimbalSpeedData
struct  DJI::onboardSDK::GPSData
struct  DJI::onboardSDK::GPSPositionData
struct  DJI::onboardSDK::Header
 The Header struct is meant to handle the open protocol header. More...
struct  DJI::onboardSDK::HotPointData
struct  DJI::onboardSDK::HotPointReadACK
struct  DJI::onboardSDK::HotPointStartACK
struct  DJI::onboardSDK::MagData
struct  DJI::onboardSDK::MagnetData
union  DJI::onboardSDK::MissionACKUnion
struct  DJI::onboardSDK::MMU_Tab
struct  DJI::onboardSDK::PositionData
struct  DJI::onboardSDK::QuaternionData
struct  DJI::onboardSDK::RadioData
struct  DJI::onboardSDK::RCData
struct  DJI::onboardSDK::RTKData
struct  DJI::onboardSDK::SDKFilter
struct  DJI::onboardSDK::TaskData
struct  DJI::onboardSDK::TimeStampData
struct  DJI::onboardSDK::Vector3fData
struct  DJI::onboardSDK::VelocityData
struct  DJI::onboardSDK::VersionData
struct  DJI::onboardSDK::VirtualRCData
struct  DJI::onboardSDK::VirtualRCSetting
struct  DJI::onboardSDK::WayPointData
struct  DJI::onboardSDK::WayPointDataACK
struct  DJI::onboardSDK::WayPointInitACK
struct  DJI::onboardSDK::WayPointInitData
struct  DJI::onboardSDK::WayPointVelocityACK

Namespaces

namespace  DJI
namespace  DJI::onboardSDK

Defines

#define __DELETE(x)   delete x
#define __UNUSED
 Define the UNUSED macro to suppress compiler warnings about unused arguments.
#define API_LOG(driver, title, fmt,...)
 This is the default status printing mechanism.
#define BUFFER_LOG   0
#define DEBUG_LOG   0
#define ERROR_LOG   "ERROR"
#define MISSION_LOG   0
#define NAME(x)   #x
#define PRO_PURE_DATA_MAX_SIZE   1007
#define RTK_LOG   0
#define STATUS_LOG   "STATUS"
#define TRACE_LOG   0

Typedefs

typedef struct DJI::onboardSDK::Ack DJI::onboardSDK::Ack
typedef struct
DJI::onboardSDK::ACKSession 
DJI::onboardSDK::ACKSession
typedef struct
DJI::onboardSDK::ActivateData 
DJI::onboardSDK::ActivateData
typedef uint8_t DJI::onboardSDK::BatteryData
typedef struct
DJI::onboardSDK::BroadcastData 
DJI::onboardSDK::BroadcastData
typedef void(* DJI::onboardSDK::CallBack )(DJI::onboardSDK::CoreAPI *, Header *, UserData)
 The CallBack function pointer is used as an argument in api->send calls.
typedef struct
DJI::onboardSDK::CallBackHandler 
DJI::onboardSDK::CallBackHandler
 The CallBackHandler struct allows users to encapsulate callbacks and data in one struct.
typedef struct
DJI::onboardSDK::CMDSession 
DJI::onboardSDK::CMDSession
typedef struct
DJI::onboardSDK::Command 
DJI::onboardSDK::Command
typedef struct
DJI::onboardSDK::CommonData 
DJI::onboardSDK::CommonData
typedef struct
DJI::onboardSDK::CtrlInfoData 
DJI::onboardSDK::CtrlInfoData
typedef uint8_t DJI::onboardSDK::FlightStatus
typedef float DJI::onboardSDK::float32_t
typedef double DJI::onboardSDK::float64_t
typedef struct
DJI::onboardSDK::GimbalAngleData 
DJI::onboardSDK::GimbalAngleData
typedef struct
DJI::onboardSDK::GimbalData 
DJI::onboardSDK::GimbalData
typedef struct
DJI::onboardSDK::GimbalSpeedData 
DJI::onboardSDK::GimbalSpeedData
typedef struct
DJI::onboardSDK::GPSData 
DJI::onboardSDK::GPSData
typedef struct
DJI::onboardSDK::GPSPositionData 
DJI::onboardSDK::GPSPositionData
typedef struct
DJI::onboardSDK::Header 
DJI::onboardSDK::Header
 The Header struct is meant to handle the open protocol header.
typedef struct
DJI::onboardSDK::HotPointData 
DJI::onboardSDK::HotPointData
typedef struct
DJI::onboardSDK::HotPointReadACK 
DJI::onboardSDK::HotpointReadACK
typedef struct
DJI::onboardSDK::HotPointStartACK 
DJI::onboardSDK::HotpointStartACK
typedef struct
DJI::onboardSDK::MagData 
DJI::onboardSDK::MagData
typedef struct
DJI::onboardSDK::MagnetData 
DJI::onboardSDK::MagnetData
typedef uint8_t DJI::onboardSDK::MissionACK
typedef union
DJI::onboardSDK::MissionACKUnion 
DJI::onboardSDK::MissionACKUnion
typedef struct
DJI::onboardSDK::MMU_Tab 
DJI::onboardSDK::MMU_Tab
typedef struct
DJI::onboardSDK::PositionData 
DJI::onboardSDK::PositionData
typedef struct
DJI::onboardSDK::QuaternionData 
DJI::onboardSDK::QuaternionData
typedef struct
DJI::onboardSDK::RadioData 
DJI::onboardSDK::RadioData
typedef struct
DJI::onboardSDK::RCData 
DJI::onboardSDK::RCData
typedef struct
DJI::onboardSDK::RTKData 
DJI::onboardSDK::RTKData
typedef struct
DJI::onboardSDK::SDKFilter 
DJI::onboardSDK::SDKFilter
typedef uint16_t DJI::onboardSDK::SimpleACK
typedef struct
DJI::onboardSDK::TaskData 
DJI::onboardSDK::TaskData
typedef struct
DJI::onboardSDK::TimeStampData 
DJI::onboardSDK::TimeStampData
typedef struct
DJI::onboardSDK::Vector3fData 
DJI::onboardSDK::Vector3fData
typedef struct
DJI::onboardSDK::VelocityData 
DJI::onboardSDK::VelocityData
typedef struct
DJI::onboardSDK::VersionData 
DJI::onboardSDK::VersionData
typedef struct
DJI::onboardSDK::VirtualRCData 
DJI::onboardSDK::VirtualRCData
typedef struct
DJI::onboardSDK::VirtualRCSetting 
DJI::onboardSDK::VirtualRCSetting
typedef struct
DJI::onboardSDK::WayPointData 
DJI::onboardSDK::WayPointData
typedef struct
DJI::onboardSDK::WayPointDataACK 
DJI::onboardSDK::WayPointDataACK
typedef struct
DJI::onboardSDK::WayPointInitACK 
DJI::onboardSDK::WayPointInitACK
typedef struct
DJI::onboardSDK::WayPointInitData 
DJI::onboardSDK::WayPointInitData
typedef struct
DJI::onboardSDK::WayPointVelocityACK 
DJI::onboardSDK::WayPointVelocityACK

Variables

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

Detailed Description

Type definition for DJI onboardSDK library. Officially Maintained.

Version:
3.1.9
Date:
November 10, 2016

Definition in file DJI_Type.h.


Define Documentation

#define __DELETE (   x)    delete x

Definition at line 36 of file DJI_Type.h.

#define __UNUSED

Define the UNUSED macro to suppress compiler warnings about unused arguments.

Definition at line 35 of file DJI_Type.h.

#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");           \
  }

This is the default status printing mechanism.

Todo:
fix warning.

Definition at line 57 of file DJI_Type.h.

#define BUFFER_LOG   0

Definition at line 89 of file DJI_Type.h.

#define DEBUG_LOG   0

Definition at line 77 of file DJI_Type.h.

#define ERROR_LOG   "ERROR"

Definition at line 81 of file DJI_Type.h.

#define MISSION_LOG   0

Definition at line 101 of file DJI_Type.h.

#define NAME (   x)    #x
Attention:
Do not modify any definition in this file if you are unsure about what are you doing. DJI will not provide any support for changes made to this file.

Definition at line 28 of file DJI_Type.h.

#define PRO_PURE_DATA_MAX_SIZE   1007

Definition at line 652 of file DJI_Type.h.

#define RTK_LOG   0

Definition at line 107 of file DJI_Type.h.

#define STATUS_LOG   "STATUS"

Definition at line 93 of file DJI_Type.h.

#define TRACE_LOG   0

Definition at line 71 of file DJI_Type.h.


Variable Documentation

const size_t MMU_TABLE_NUM = 32

Definition at line 653 of file DJI_Type.h.



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