DJI Onboard SDK  4.0
dji_setup_helpers.hpp
Go to the documentation of this file.
1 
30 #ifndef ONBOARDSDK_DJI_SETUP_HELPERS_H
31 #define ONBOARDSDK_DJI_SETUP_HELPERS_H
32 
33 #include <stdint.h>
34 
35 namespace DJI
36 {
37 namespace OSDK {
39 class Linker;
40 class Vehicle;
41 
42 class Setup {
43  public:
44  Setup(bool enableAdvancedSensing = false);
45  ~Setup();
46 
47  public:
48  bool initLinker();
49 
51  bool addFCUartChannel(const char *device, uint32_t baudrate);
52  bool addUSBACMChannel(const char *device, uint32_t baudrate);
53 
54  virtual bool initVehicle();
55  virtual void setupEnvironment();
56 
57  public:
58  Vehicle *vehicle;
59  Linker *linker;
60  bool useAdvancedSensing;
61 };
62 }
63 }
64 
65 #endif // ONBOARDSDK_DJI_SETUP_HELPERS_H
handle array of characters
Definition: commondatarangehandler.h:14