#include <Message_data.h>

Public Types | |
| enum | payloadOffsets { LEFT_P = 0, LEFT_I = 2, LEFT_D = 4, RIGHT_P = 6, RIGHT_I = 8, RIGHT_D = 10, PAYLOAD_LEN = 12 } |
Public Member Functions | |
| DataDifferentialControl (void *input, size_t msg_len) | |
| DataDifferentialControl (const DataDifferentialControl &other) | |
| double | getLeftD () |
| double | getLeftI () |
| double | getLeftP () |
| double | getRightD () |
| double | getRightI () |
| double | getRightP () |
| virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
| static enum MessageTypes | getTypeID () |
| static DataDifferentialControl * | getUpdate (double timeout=0) |
| static DataDifferentialControl * | popNext () |
| static void | subscribe (uint16_t freq=0) |
| static DataDifferentialControl * | waitNext (double timeout=0) |
Definition at line 85 of file Message_data.h.
Definition at line 88 of file Message_data.h.
| sawyer::DataDifferentialControl::DataDifferentialControl | ( | void * | input, |
| size_t | msg_len | ||
| ) |
| double sawyer::DataDifferentialControl::getLeftD | ( | ) |
Definition at line 108 of file Message_data.cpp.
| double sawyer::DataDifferentialControl::getLeftI | ( | ) |
Definition at line 103 of file Message_data.cpp.
| double sawyer::DataDifferentialControl::getLeftP | ( | ) |
Definition at line 98 of file Message_data.cpp.
| double sawyer::DataDifferentialControl::getRightD | ( | ) |
Definition at line 123 of file Message_data.cpp.
| double sawyer::DataDifferentialControl::getRightI | ( | ) |
Definition at line 118 of file Message_data.cpp.
| double sawyer::DataDifferentialControl::getRightP | ( | ) |
Definition at line 113 of file Message_data.cpp.
| static enum MessageTypes sawyer::DataDifferentialControl::getTypeID | ( | ) | [static] |
| static DataDifferentialControl* sawyer::DataDifferentialControl::getUpdate | ( | double | timeout = 0 | ) | [static] |
| static DataDifferentialControl* sawyer::DataDifferentialControl::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
| ostream & sawyer::DataDifferentialControl::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 128 of file Message_data.cpp.
| static void sawyer::DataDifferentialControl::subscribe | ( | uint16_t | freq = 0 | ) | [static] |
| static DataDifferentialControl* sawyer::DataDifferentialControl::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.