#include <Message_data.h>
|
enum | payloadOffsets {
LEFT_P = 0,
LEFT_I = 2,
LEFT_D = 4,
LEFT_FEEDFWD = 6,
LEFT_STIC = 8,
LEFT_INT_LIM = 10,
RIGHT_P = 12,
RIGHT_I = 14,
RIGHT_D = 16,
RIGHT_FEEDFWD = 18,
RIGHT_STIC = 20,
RIGHT_INT_LIM = 22,
PAYLOAD_LEN = 24
} |
|
|
| DataDifferentialControl (void *input, size_t msg_len) |
|
| DataDifferentialControl (const DataDifferentialControl &other) |
|
double | getLeftD () |
|
double | getLeftFeedForward () |
|
double | getLeftI () |
|
double | getLeftIntegralLimit () |
|
double | getLeftP () |
|
double | getLeftStiction () |
|
double | getRightD () |
|
double | getRightFeedForward () |
|
double | getRightI () |
|
double | getRightIntegralLimit () |
|
double | getRightP () |
|
double | getRightStiction () |
|
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
|
uint16_t | getChecksum () |
|
uint8_t | getFlags () |
|
uint8_t | getLength () |
|
uint8_t | getLengthComp () |
|
size_t | getPayload (void *buf, size_t max_size) |
|
size_t | getPayloadLength () |
|
uint32_t | getTimestamp () |
|
size_t | getTotalLength () |
|
uint16_t | getType () |
|
uint8_t | getVersion () |
|
bool | isCommand () |
|
bool | isData () |
|
bool | isRequest () |
|
bool | isValid (char *whyNot=NULL, size_t strLen=0) |
|
| Message () |
|
| Message (void *input, size_t msg_len) |
|
| Message (const Message &other) |
|
| Message (uint16_t type, uint8_t *payload, size_t payload_len, uint32_t timestamp=0, uint8_t flags=0, uint8_t version=0) |
|
void | printRaw (std::ostream &stream=std::cout) |
|
void | send () |
|
size_t | toBytes (void *buf, size_t buf_size) |
|
virtual | ~Message () |
|
Definition at line 93 of file Message_data.h.
Enumerator |
---|
LEFT_P |
|
LEFT_I |
|
LEFT_D |
|
LEFT_FEEDFWD |
|
LEFT_STIC |
|
LEFT_INT_LIM |
|
RIGHT_P |
|
RIGHT_I |
|
RIGHT_D |
|
RIGHT_FEEDFWD |
|
RIGHT_STIC |
|
RIGHT_INT_LIM |
|
PAYLOAD_LEN |
|
Definition at line 96 of file Message_data.h.
clearpath::DataDifferentialControl::DataDifferentialControl |
( |
void * |
input, |
|
|
size_t |
msg_len |
|
) |
| |
double clearpath::DataDifferentialControl::getLeftD |
( |
| ) |
|
double clearpath::DataDifferentialControl::getLeftFeedForward |
( |
| ) |
|
double clearpath::DataDifferentialControl::getLeftI |
( |
| ) |
|
double clearpath::DataDifferentialControl::getLeftIntegralLimit |
( |
| ) |
|
double clearpath::DataDifferentialControl::getLeftP |
( |
| ) |
|
double clearpath::DataDifferentialControl::getLeftStiction |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightD |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightFeedForward |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightI |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightIntegralLimit |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightP |
( |
| ) |
|
double clearpath::DataDifferentialControl::getRightStiction |
( |
| ) |
|
static enum MessageTypes clearpath::DataDifferentialControl::getTypeID |
( |
| ) |
|
|
static |
ostream & clearpath::DataDifferentialControl::printMessage |
( |
std::ostream & |
stream = std::cout | ) |
|
|
virtual |
static void clearpath::DataDifferentialControl::subscribe |
( |
uint16_t |
freq = 0 | ) |
|
|
static |
The documentation for this class was generated from the following files: