#include <Message_data.h>
Public Types | |
enum | payloadOffsets { TRANS_VEL = 0, ROTATIONAL = 2, TRANS_ACCEL = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataVelocity (void *input, size_t msg_len) | |
DataVelocity (const DataVelocity &other) | |
double | getRotational () |
double | getTransAccel () |
double | getTranslational () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataVelocity * | getUpdate (double timeout=0) |
static DataVelocity * | popNext () |
static void | subscribe (uint16_t freq) |
static DataVelocity * | waitNext (double timeout=0) |
Definition at line 1124 of file Message_data.h.
Definition at line 1127 of file Message_data.h.
sawyer::DataVelocity::DataVelocity | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataVelocity::DataVelocity | ( | const DataVelocity & | other | ) |
double sawyer::DataVelocity::getRotational | ( | ) |
Definition at line 1173 of file Message_data.cpp.
double sawyer::DataVelocity::getTransAccel | ( | ) |
Definition at line 1178 of file Message_data.cpp.
double sawyer::DataVelocity::getTranslational | ( | ) |
Definition at line 1168 of file Message_data.cpp.
static enum MessageTypes sawyer::DataVelocity::getTypeID | ( | ) | [static] |
static DataVelocity* sawyer::DataVelocity::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataVelocity* sawyer::DataVelocity::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataVelocity::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 1183 of file Message_data.cpp.
static void sawyer::DataVelocity::subscribe | ( | uint16_t | freq | ) | [static] |
static DataVelocity* sawyer::DataVelocity::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.