#include <ObjectTransformation.h>
Public Member Functions | |
ObjectTransformation () | |
void | setBaseFrame (std::string pBaseFrame) |
void | transform (const boost::shared_ptr< asr_msgs::AsrObject > &pObject) |
~ObjectTransformation () | |
Private Attributes | |
std::string | mBaseFrame |
tf::TransformListener | mTfListener |
This class transforms AsrObjects into a destination frame.
Definition at line 40 of file ObjectTransformation.h.
ProbabilisticSceneRecognition::ObjectTransformation::ObjectTransformation | ( | ) |
Constructor.
Definition at line 22 of file ObjectTransformation.cpp.
ProbabilisticSceneRecognition::ObjectTransformation::~ObjectTransformation | ( | ) |
Destructor.
Definition at line 27 of file ObjectTransformation.cpp.
void ProbabilisticSceneRecognition::ObjectTransformation::setBaseFrame | ( | std::string | pBaseFrame | ) |
Sets the base frame to convert the AsrObject messages to.
pBaseFrame | The base coordinate frame to transform the objects to. |
Definition at line 31 of file ObjectTransformation.cpp.
void ProbabilisticSceneRecognition::ObjectTransformation::transform | ( | const boost::shared_ptr< asr_msgs::AsrObject > & | pObject | ) |
Transforms an object into the given destination frame.
Definition at line 36 of file ObjectTransformation.cpp.
|
private |
The name of the frame the objects poses should be converted to.
Definition at line 70 of file ObjectTransformation.h.
|
private |
A transformation listener that is responsible for transforming the evidences into the target coordinate system.
Definition at line 75 of file ObjectTransformation.h.