|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <dji_serial.hpp>

Public Member Functions | |
| SerialMessage (uint8_t seq=0) | |
| void | setCRC16 () |
Public Attributes | |
| FrameHeader | header |
| uint16_t | messageType |
| uint8_t | data [DATA_SIZE] |
| uint16_t | CRC16 |
A container for storing and sending message over serial.
|
inlineexplicit |
Constructs a SerialMessage. In doing so this constructor configures the message header.
| [in] | seq | Message sequence number, an optional parameter. |
|
inline |
Sets the CRC16 value in the struct. This should be called after writing data to the message struct.
| uint16_t tap::communication::serial::DJISerial::SerialMessage< DATA_SIZE >::CRC16 |
| uint8_t tap::communication::serial::DJISerial::SerialMessage< DATA_SIZE >::data[DATA_SIZE] |
| FrameHeader tap::communication::serial::DJISerial::SerialMessage< DATA_SIZE >::header |
| uint16_t tap::communication::serial::DJISerial::SerialMessage< DATA_SIZE >::messageType |