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

#include <Message_data.h>

Inheritance diagram for clearpath::DataVelocity:
Inheritance graph
[legend]

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 1053 of file Message_data.h.


Member Enumeration Documentation

Enumerator:
TRANS_VEL 
ROTATIONAL 
TRANS_ACCEL 
PAYLOAD_LEN 

Definition at line 1056 of file Message_data.h.


Constructor & Destructor Documentation

clearpath::DataVelocity::DataVelocity ( void *  input,
size_t  msg_len 
)

Member Function Documentation

Definition at line 1129 of file Message_data.cpp.

Definition at line 1134 of file Message_data.cpp.

Definition at line 1124 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.

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

Reimplemented from clearpath::Message.

Definition at line 1139 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.


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


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Jun 8 2019 18:26:01