29 #ifndef ONBOARDSDK_DJI_PAYLOAD_BASE_HPP 30 #define ONBOARDSDK_DJI_PAYLOAD_BASE_HPP 34 #include "osdk_typedef.h" 43 PAYLOAD_INDEX_0 = 0x00,
44 PAYLOAD_INDEX_1 = 0x01,
45 PAYLOAD_INDEX_2 = 0x02,
46 PAYLOAD_INDEX_CNT = 0x03,
47 PAYLOAD_INDEX_INVALID = 0x03,
75 std::string getName();
77 void setName(std::string name);
79 Linker *getLinker() {
return linker; }
90 #endif // ONBOARDSDK_DJI_PAYLOAD_BASE_HPP PayloadBase.
Definition: dji_payload_base.hpp:54
PayloadIndexType
The payload Index of camera.
Definition: dji_payload_base.hpp:42
void setEnable(bool en)
set the enable status of this payload module
Definition: dji_ack.cpp:38
All DJI OSDK OpenProtocol ACK Error Codes.
bool getEnable()
get the enable status of this payload module