Class DataPlatformMagnetometer

Inheritance Relationships

Base Type

Class Documentation

class DataPlatformMagnetometer : public clearpath::Message

Public Types

enum payloadOffsets

Values:

enumerator X
enumerator Y
enumerator Z
enumerator PAYLOAD_LEN

Public 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)

Public Static Functions

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