#include <Message_data.h>
Public Types | |
enum | payloadOffsets { ROLL = 0, PITCH = 2, YAW = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataPlatformOrientation (void *input, size_t msg_len) | |
DataPlatformOrientation (const DataPlatformOrientation &other) | |
double | getPitch () |
double | getRoll () |
double | getYaw () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataPlatformOrientation * | getUpdate (double timeout=0) |
static DataPlatformOrientation * | popNext () |
static void | subscribe (uint16_t freq) |
static DataPlatformOrientation * | waitNext (double timeout=0) |
Definition at line 586 of file Message_data.h.
Definition at line 589 of file Message_data.h.
sawyer::DataPlatformOrientation::DataPlatformOrientation | ( | void * | input, |
size_t | msg_len | ||
) |
double sawyer::DataPlatformOrientation::getPitch | ( | ) |
Definition at line 597 of file Message_data.cpp.
double sawyer::DataPlatformOrientation::getRoll | ( | ) |
Definition at line 592 of file Message_data.cpp.
static enum MessageTypes sawyer::DataPlatformOrientation::getTypeID | ( | ) | [static] |
static DataPlatformOrientation* sawyer::DataPlatformOrientation::getUpdate | ( | double | timeout = 0 | ) | [static] |
double sawyer::DataPlatformOrientation::getYaw | ( | ) |
Definition at line 602 of file Message_data.cpp.
static DataPlatformOrientation* sawyer::DataPlatformOrientation::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataPlatformOrientation::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 607 of file Message_data.cpp.
static void sawyer::DataPlatformOrientation::subscribe | ( | uint16_t | freq | ) | [static] |
static DataPlatformOrientation* sawyer::DataPlatformOrientation::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.