Class StaticTransformListener
Defined in File transform_listener.h
Inheritance Relationships
Base Type
public tf2_ros::TransformListener
(Class TransformListener)
Class Documentation
-
class StaticTransformListener : public tf2_ros::TransformListener
Convenience class for subscribing to static-only transforms.
While users can achieve the same thing with a normal TransformListener, the number of parameters that must be provided is unwieldy.
Public Functions
-
inline explicit TF2_ROS_PUBLIC StaticTransformListener(tf2::BufferCore &buffer, bool spin_thread = true)
Simplified constructor for a static transform listener.
See also
the simplified TransformListener documentation
-
template<class NodeT, class AllocatorT = std::allocator<void>>
inline StaticTransformListener(tf2::BufferCore &buffer, NodeT &&node, bool spin_thread = true, const rclcpp::QoS &static_qos = StaticListenerQoS(), const rclcpp::SubscriptionOptionsWithAllocator<AllocatorT> &static_options = detail::get_default_transform_listener_static_sub_options<AllocatorT>()) Node constructor.
Node interface constructor.
-
inline virtual TF2_ROS_PUBLIC ~StaticTransformListener()
-
inline explicit TF2_ROS_PUBLIC StaticTransformListener(tf2::BufferCore &buffer, bool spin_thread = true)