Class DataDifferentialSpeed

Inheritance Relationships

Base Type

Class Documentation

class DataDifferentialSpeed : public clearpath::Message

Public Types

enum payloadOffsets

Values:

enumerator LEFT_SPEED
enumerator RIGHT_SPEED
enumerator LEFT_ACCEL
enumerator RIGHT_ACCEL
enumerator PAYLOAD_LEN

Public Functions

DataDifferentialSpeed(void *input, size_t msg_len)
DataDifferentialSpeed(const DataDifferentialSpeed &other)
double getLeftSpeed()
double getLeftAccel()
double getRightSpeed()
double getRightAccel()
virtual std::ostream &printMessage(std::ostream &stream = std::cout)

Public Static Functions

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