Class DataRawMagnetometer

Inheritance Relationships

Base Type

Class Documentation

class DataRawMagnetometer : public clearpath::Message

Public Types

enum payloadOffsets

Values:

enumerator X
enumerator Y
enumerator Z
enumerator PAYLOAD_LEN

Public Functions

DataRawMagnetometer(void *input, size_t msg_len)
DataRawMagnetometer(const DataRawMagnetometer &other)
uint16_t getX()
uint16_t getY()
uint16_t getZ()
virtual std::ostream &printMessage(std::ostream &stream = std::cout)

Public Static Functions

static DataRawMagnetometer *popNext()
static DataRawMagnetometer *waitNext(double timeout = 0)
static DataRawMagnetometer *getUpdate(double timeout = 0)
static void subscribe(uint16_t freq)
static enum MessageTypes getTypeID()