Onboard-SDK-ROS
|
Go to the source code of this file.
Macros | |
#define | _SDK_MAX_RECV_SIZE (BUFFER_SIZE) |
#define | _SDK_SOF ((unsigned char)(0xAA)) |
#define | _SDK_CRC_HEAD_SIZE (2) |
#define | _SDK_CRC_DATA_SIZE (4) |
#define | _SDK_HEAD_DATA_LEN (sizeof(DJI::onboardSDK::Header) - 2) |
#define | _SDK_FULL_DATA_SIZE_MIN (sizeof(DJI::onboardSDK::Header) + _SDK_CRC_DATA_SIZE) |
#define | _SDK_U32_SET(_addr, _val) (*((unsigned int *)(_addr)) = (_val)) |
#define | _SDK_U16_SET(_addr, _val) (*((unsigned short *)(_addr)) = (_val)) |
#define | _SDK_CALC_CRC_HEAD(_msg, _len) sdk_stream_crc16_calc((const unsigned char *)(_msg), _len) |
#define | _SDK_CALC_CRC_TAIL(_msg, _len) sdk_stream_crc32_calc((const unsigned char *)(_msg), _len) |
Functions | |
void | transformTwoByte (const char *pstr, unsigned char *pdata) |
Encode functions for DJI onboardSDK library
Mission framework for DJI onboardSDK library