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

#include <Message_data.h>

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

List of all members.

Public Types

enum  payloadOffsets { LEFT = 0, RIGHT = 2, PAYLOAD_LEN = 4 }

Public Member Functions

 DataDifferentialOutput (void *input, size_t msg_len)
 DataDifferentialOutput (const DataDifferentialOutput &other)
double getLeft ()
double getRight ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataDifferentialOutputgetUpdate (double timeout=0)
static DataDifferentialOutputpopNext ()
static void subscribe (uint16_t freq)
static DataDifferentialOutputwaitNext (double timeout=0)

Detailed Description

Definition at line 155 of file Message_data.h.


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 
PAYLOAD_LEN 

Definition at line 158 of file Message_data.h.


Constructor & Destructor Documentation

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

Member Function Documentation

Definition at line 184 of file Message_data.cpp.

Definition at line 189 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.

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

Reimplemented from clearpath::Message.

Definition at line 194 of file Message_data.cpp.

static void clearpath::DataDifferentialOutput::subscribe ( uint16_t  freq) [static]
static DataDifferentialOutput* clearpath::DataDifferentialOutput::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