Public Types | Public Member Functions | Static Public Member Functions
sawyer::DataVelocity Class Reference

#include <Message_data.h>

Inheritance diagram for sawyer::DataVelocity:
Inheritance graph

List of all members.

Public Types

enum  payloadOffsets { TRANS_VEL = 0, ROTATIONAL = 2, TRANS_ACCEL = 4, PAYLOAD_LEN = 6 }

Public Member Functions

 DataVelocity (void *input, size_t msg_len)
 DataVelocity (const DataVelocity &other)
double getRotational ()
double getTransAccel ()
double getTranslational ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataVelocitygetUpdate (double timeout=0)
static DataVelocitypopNext ()
static void subscribe (uint16_t freq)
static DataVelocitywaitNext (double timeout=0)

Detailed Description

Definition at line 1124 of file Message_data.h.

Member Enumeration Documentation


Definition at line 1127 of file Message_data.h.

Constructor & Destructor Documentation

sawyer::DataVelocity::DataVelocity ( void *  input,
size_t  msg_len 

Member Function Documentation

Definition at line 1173 of file Message_data.cpp.

Definition at line 1178 of file Message_data.cpp.

Definition at line 1168 of file Message_data.cpp.

static DataVelocity* sawyer::DataVelocity::getUpdate ( double  timeout = 0) [static]

Reimplemented from sawyer::Message.

ostream & sawyer::DataVelocity::printMessage ( std::ostream &  stream = std::cout) [virtual]

Reimplemented from sawyer::Message.

Definition at line 1183 of file Message_data.cpp.

static void sawyer::DataVelocity::subscribe ( uint16_t  freq) [static]
static DataVelocity* sawyer::DataVelocity::waitNext ( double  timeout = 0) [static]

Reimplemented from sawyer::Message.

The documentation for this class was generated from the following files:

Author(s): Mike Purvis , Paul Bovbel , Carl
autogenerated on Sat Jun 8 2019 20:32:33