#include <Message_data.h>
Public Types | |
enum | payloadOffsets { X = 0, Y = 2, Z = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataPlatformMagnetometer (void *input, size_t msg_len) | |
DataPlatformMagnetometer (const DataPlatformMagnetometer &other) | |
double | getX () |
double | getY () |
double | getZ () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataPlatformMagnetometer * | getUpdate (double timeout=0) |
static DataPlatformMagnetometer * | popNext () |
static void | subscribe (uint16_t freq) |
static DataPlatformMagnetometer * | waitNext (double timeout=0) |
Definition at line 546 of file Message_data.h.
Definition at line 549 of file Message_data.h.
clearpath::DataPlatformMagnetometer::DataPlatformMagnetometer | ( | void * | input, |
size_t | msg_len | ||
) |
clearpath::DataPlatformMagnetometer::DataPlatformMagnetometer | ( | const DataPlatformMagnetometer & | other | ) |
static enum MessageTypes clearpath::DataPlatformMagnetometer::getTypeID | ( | ) | [static] |
static DataPlatformMagnetometer* clearpath::DataPlatformMagnetometer::getUpdate | ( | double | timeout = 0 | ) | [static] |
double clearpath::DataPlatformMagnetometer::getX | ( | ) |
Definition at line 546 of file Message_data.cpp.
double clearpath::DataPlatformMagnetometer::getY | ( | ) |
Definition at line 551 of file Message_data.cpp.
double clearpath::DataPlatformMagnetometer::getZ | ( | ) |
Definition at line 556 of file Message_data.cpp.
static DataPlatformMagnetometer* clearpath::DataPlatformMagnetometer::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataPlatformMagnetometer::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 561 of file Message_data.cpp.
static void clearpath::DataPlatformMagnetometer::subscribe | ( | uint16_t | freq | ) | [static] |
static DataPlatformMagnetometer* clearpath::DataPlatformMagnetometer::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.