#include <Message_data.h>
Public Types | |
enum | payloadOffsets { STEERING = 0, THROTTLE = 2, BRAKE = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataAckermannOutput (void *input, size_t msg_len) | |
DataAckermannOutput (const DataAckermannOutput &other) | |
double | getBrake () |
double | getSteering () |
double | getThrottle () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataAckermannOutput * | getUpdate (double timeout=0) |
static DataAckermannOutput * | popNext () |
static void | subscribe (uint16_t freq=0) |
static DataAckermannOutput * | waitNext (double timeout=0) |
Definition at line 51 of file Message_data.h.
Definition at line 54 of file Message_data.h.
sawyer::DataAckermannOutput::DataAckermannOutput | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataAckermannOutput::DataAckermannOutput | ( | const DataAckermannOutput & | other | ) |
double sawyer::DataAckermannOutput::getBrake | ( | ) |
Definition at line 77 of file Message_data.cpp.
double sawyer::DataAckermannOutput::getSteering | ( | ) |
Definition at line 67 of file Message_data.cpp.
double sawyer::DataAckermannOutput::getThrottle | ( | ) |
Definition at line 72 of file Message_data.cpp.
static enum MessageTypes sawyer::DataAckermannOutput::getTypeID | ( | ) | [static] |
static DataAckermannOutput* sawyer::DataAckermannOutput::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataAckermannOutput* sawyer::DataAckermannOutput::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataAckermannOutput::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 82 of file Message_data.cpp.
static void sawyer::DataAckermannOutput::subscribe | ( | uint16_t | freq = 0 | ) | [static] |
static DataAckermannOutput* sawyer::DataAckermannOutput::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.