#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 59 of file Message_data.h.
Definition at line 62 of file Message_data.h.
clearpath::DataAckermannOutput::DataAckermannOutput | ( | void * | input, |
size_t | msg_len | ||
) |
clearpath::DataAckermannOutput::DataAckermannOutput | ( | const DataAckermannOutput & | other | ) |
double clearpath::DataAckermannOutput::getBrake | ( | ) |
Definition at line 79 of file Message_data.cpp.
double clearpath::DataAckermannOutput::getSteering | ( | ) |
Definition at line 69 of file Message_data.cpp.
double clearpath::DataAckermannOutput::getThrottle | ( | ) |
Definition at line 74 of file Message_data.cpp.
static enum MessageTypes clearpath::DataAckermannOutput::getTypeID | ( | ) | [static] |
static DataAckermannOutput* clearpath::DataAckermannOutput::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataAckermannOutput* clearpath::DataAckermannOutput::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataAckermannOutput::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 84 of file Message_data.cpp.
static void clearpath::DataAckermannOutput::subscribe | ( | uint16_t | freq = 0 | ) | [static] |
static DataAckermannOutput* clearpath::DataAckermannOutput::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.