Onboard-SDK-ROS
DJI_Version.h
Go to the documentation of this file.
1 
20 #ifndef DJI_VERSION_H
21 #define DJI_VERSION_H
22 
23 #include <stdint.h>
24 
25 #define MAKE_VERSION(a, b, c, d) \
26  (((a << 24) & 0xff000000) | ((b << 16) & 0x00ff0000) | ((c << 8) & 0x0000ff00) | \
27  (d & 0x000000ff))
28 
29 namespace DJI
30 {
31 namespace onboardSDK
32 {
34 typedef uint32_t Version;
35 
36 const Version versionM100_23 = (MAKE_VERSION(2, 3, 10, 0));
37 const Version versionM100_31 = (MAKE_VERSION(3, 1, 10, 0));
38 const Version versionA3_31 = (MAKE_VERSION(3, 1, 100, 0));
39 const Version SDK_VERSION = versionM100_31;
40 
41 #ifdef SDK_DEV
42 #include "dev.h"
43 #endif // SDK_DEV
44 
45 } // namespace DJI
46 } // namespace onboardSDK
47 
48 #endif // DJI_VERSION_H
uint32_t Version
Definition: DJI_Version.h:34
#define MAKE_VERSION(a, b, c, d)
Definition: DJI_Version.h:25
Definition: DJI_Mission.cpp:16