fmrbenchmark  0.0.4
 All Classes Functions Friends Modules
Public Member Functions | List of all members

Transcribe state messages (VectorStamped) into other types. More...

Public Member Functions

 DMTranscriber (ros::NodeHandle &nh, int i0, int i1=-1, int i2=-1)
 Instantiate transcriber with given mapping. More...
 

Detailed Description

Transcribe state messages (VectorStamped) into other types.

This object subscribes to "/dynamaestro/state" and publishes to "state_PointStamped". Upon instantiation, a mapping of indices of the state vector to x,y,z coordinates must be given. Consult documentation of the constructor DMTranscriber().

The object is robust to changes in the state vector size. When applying the mapping, it ignores indices that are out of range.

Constructor & Destructor Documentation

DMTranscriber::DMTranscriber ( ros::NodeHandle &  nh,
int  i0,
int  i1 = -1,
int  i2 = -1 
)

Instantiate transcriber with given mapping.

Parameters
i0index of the vector that should be mapped to Point::x
i1index of the vector that should be mapped to Point::y, or -1 if no mapping should occur for y, in which case Point::y is assigned 0.
i2analogous to i1 but for Point::z.

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