Public Member Functions | Private Attributes
mongo_ros::LiveTransformSource Class Reference

#include <transform_collection.h>

Inheritance diagram for mongo_ros::LiveTransformSource:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LiveTransformSource (double timeout=0)
virtual tf::StampedTransform lookupTransform (const std::string &target, const std::string &source, double t) const

Private Attributes

ros::NodeHandle nh_
boost::shared_ptr
< tf::TransformListener > 
tf_
ros::Duration timeout_

Detailed Description

This wraps a tf transform listener so it can be used interchangeably with a TransformCollection.

Definition at line 102 of file transform_collection.h.


Constructor & Destructor Documentation

mongo_ros::LiveTransformSource::LiveTransformSource ( double  timeout = 0) [inline]
Parameters:
timeout,:Maximum timeout

ros::init must be called before creating an instance

Definition at line 109 of file transform_collection.h.


Member Function Documentation

tf::StampedTransform mongo_ros::LiveTransformSource::lookupTransform ( const std::string &  target,
const std::string &  source,
double  t 
) const [virtual]

Will return the transform if it becomes available before the timeout expires, else throw a tf exception

Implements mongo_ros::TransformSource.

Definition at line 98 of file transform_collection.cpp.


Member Data Documentation

Definition at line 122 of file transform_collection.h.

boost::shared_ptr<tf::TransformListener> mongo_ros::LiveTransformSource::tf_ [private]

Definition at line 123 of file transform_collection.h.

Definition at line 124 of file transform_collection.h.


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


warehouse_ros
Author(s): Bhaskara Marthi
autogenerated on Wed Aug 26 2015 16:44:56