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 96 of file types.h.

Constructor & Destructor Documentation

◆ StampedTransform() [1/2]

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 113 of file types.h.

◆ StampedTransform() [2/2]

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

Default constructor only to be used for preallocation.

Definition at line 121 of file types.h.

Member Function Documentation

◆ set_data()

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

Set the inherited Transform data.

Parameters
inputtransform to set

Definition at line 126 of file types.h.

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

Member Data Documentation

◆ child_frame_id

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

◆ frame_id

◆ stamp


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