Fawkes API  Fawkes Development Version
fawkes::tf::StampedTransform Class Reference

Transform that contains a timestamp and frame IDs. More...

#include <types.h>

Inheritance diagram for fawkes::tf::StampedTransform:

Public Member Functions

 StampedTransform (const tf::Transform &input, const fawkes::Time &timestamp, const std::string &frame_id, const std::string &child_frame_id)
 Constructor. More...
 
 StampedTransform ()
 Default constructor only to be used for preallocation. More...
 
void set_data (const tf::Transform &input)
 Set the inherited Transform data. More...
 

Public Attributes

fawkes::Time stamp
 Timestamp of this transform. More...
 
std::string frame_id
 Parent/reference frame ID. More...
 
std::string child_frame_id
 Frame ID of child frame, e.g. More...
 

Detailed Description

Transform that contains a timestamp and frame IDs.

Definition at line 92 of file types.h.

Constructor & Destructor Documentation

fawkes::tf::StampedTransform::StampedTransform ( const tf::Transform &  input,
const fawkes::Time timestamp,
const std::string &  frame_id,
const std::string &  child_frame_id 
)
inline

Constructor.

Parameters
inputtransform
timestamptimestamp for this transform
frame_idparent frame ID
child_frame_idchild frame ID

Definition at line 109 of file types.h.

fawkes::tf::StampedTransform::StampedTransform ( )
inline

Default constructor only to be used for preallocation.

Definition at line 117 of file types.h.

Member Function Documentation

void fawkes::tf::StampedTransform::set_data ( const tf::Transform &  input)
inline

Set the inherited Transform data.

Parameters
inputtransform to set

Definition at line 122 of file types.h.

Referenced by fawkes::tf::Transformer::lookup_transform().

Member Data Documentation

std::string fawkes::tf::StampedTransform::child_frame_id

Frame ID of child frame, e.g.

the transform denotes the transform from the parent frame to this child.

Definition at line 101 of file types.h.

Referenced by fawkes::tf::Transformer::lookup_transform(), TfExampleThread::loop(), fawkes::tf::TransformPublisher::send_transform(), and fawkes::tf::Transformer::set_transform().

std::string fawkes::tf::StampedTransform::frame_id

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