#include <Message_cmd.h>
|
static Message * | factory (void *input, size_t msg_len) |
|
static Message * | popNext () |
|
static Message * | waitNext (double timeout=0.0) |
|
static const size_t | MAX_MSG_LENGTH = 256 |
|
static const size_t | MIN_MSG_LENGTH = HEADER_LENGTH + CRC_LENGTH |
|
static const uint8_t | SOH = 0xAA |
|
static const uint8_t | STX = 0x55 |
|
enum | dataOffsets {
SOH_OFST = 0,
LENGTH_OFST,
LENGTH_COMP_OFST,
VERSION_OFST,
TIMESTAMP_OFST,
FLAGS_OFST = 8,
TYPE_OFST,
STX_OFST = 11,
PAYLOAD_OFST
} |
|
size_t | crcOffset () |
|
uint8_t * | getPayloadPointer (size_t offset=0) |
|
void | makeValid () |
|
void | setFlags (uint8_t flags) |
|
void | setLength (uint8_t len) |
|
void | setPayload (void *buf, size_t buf_size) |
|
void | setPayloadLength (uint8_t len) |
|
void | setTimestamp (uint32_t timestamp) |
|
void | setType (uint16_t type) |
|
void | setVersion (uint8_t version) |
|
uint8_t | data [MAX_MSG_LENGTH] |
|
bool | is_sent |
|
size_t | total_len |
|
static const uint16_t | CRC_INIT_VAL = 0xFFFF |
|
static const size_t | CRC_LENGTH = 2 |
|
static const size_t | HEADER_LENGTH = 12 |
|
Definition at line 54 of file Message_cmd.h.
clearpath::CmdMessage::CmdMessage |
( |
| ) |
|
|
inline |
clearpath::CmdMessage::CmdMessage |
( |
const CmdMessage & |
other | ) |
|
|
inline |
clearpath::CmdMessage::~CmdMessage |
( |
| ) |
|
|
virtual |
long clearpath::CmdMessage::total_destroyed = 0 |
|
staticprivate |
long clearpath::CmdMessage::total_sent = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: