#include <transform_collection.h>
Public Member Functions | |
LiveTransformSource (double timeout=0) | |
tf::StampedTransform | lookupTransform (const std::string &target, const std::string &source, double t) const override |
Private Attributes | |
ros::NodeHandle | nh_ |
boost::shared_ptr< tf::TransformListener > | tf_ |
ros::Duration | timeout_ |
This wraps a tf transform listener so it can be used interchangeably with a TransformCollection.
Definition at line 91 of file transform_collection.h.
|
inline |
timeout | Maximum timeout |
ros::init must be called before creating an instance
Definition at line 97 of file transform_collection.h.
|
inlineoverridevirtual |
Will return the transform if it becomes available before the timeout expires, else throw a tf exception
Implements warehouse_ros::TransformSource.
Definition at line 103 of file transform_collection.h.
|
private |
Definition at line 113 of file transform_collection.h.
|
private |
Definition at line 114 of file transform_collection.h.
|
private |
Definition at line 115 of file transform_collection.h.