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

#include <Message_data.h>

Inheritance diagram for sawyer::DataDifferentialControl:
Inheritance graph
[legend]

List of all members.

Public Types

enum  payloadOffsets {
  LEFT_P = 0, LEFT_I = 2, LEFT_D = 4, RIGHT_P = 6,
  RIGHT_I = 8, RIGHT_D = 10, PAYLOAD_LEN = 12
}

Public Member Functions

 DataDifferentialControl (void *input, size_t msg_len)
 DataDifferentialControl (const DataDifferentialControl &other)
double getLeftD ()
double getLeftI ()
double getLeftP ()
double getRightD ()
double getRightI ()
double getRightP ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataDifferentialControlgetUpdate (double timeout=0)
static DataDifferentialControlpopNext ()
static void subscribe (uint16_t freq=0)
static DataDifferentialControlwaitNext (double timeout=0)

Detailed Description

Definition at line 85 of file Message_data.h.


Member Enumeration Documentation

Enumerator:
LEFT_P 
LEFT_I 
LEFT_D 
RIGHT_P 
RIGHT_I 
RIGHT_D 
PAYLOAD_LEN 

Definition at line 88 of file Message_data.h.


Constructor & Destructor Documentation

sawyer::DataDifferentialControl::DataDifferentialControl ( void *  input,
size_t  msg_len 
)

Member Function Documentation

Definition at line 108 of file Message_data.cpp.

Definition at line 103 of file Message_data.cpp.

Definition at line 98 of file Message_data.cpp.

Definition at line 123 of file Message_data.cpp.

Definition at line 118 of file Message_data.cpp.

Definition at line 113 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.

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

Reimplemented from sawyer::Message.

Definition at line 128 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.


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


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