Class LiveTransformSource

Inheritance Relationships

Base Type

Class Documentation

class LiveTransformSource : public warehouse_ros::TransformSource

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

Public Functions

inline LiveTransformSource(double timeout = 0)

ros::init must be called before creating an instance

Parameters:

timeout – Maximum timeout

inline virtual geometry_msgs::msg::TransformStamped lookupTransform(const std::string &target, const std::string &source, double t) const override

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