Go to the documentation of this file.
14 #include <boost/shared_ptr.hpp>
42 void reset()
override;
48 ::std::shared_ptr<::tf2_ros::Buffer>
buffer;
51 ::std::unique_ptr<::tf2_ros::TransformListener>
listener;
void init() override
Initialize all class members.
NodeletWithSharedTfBuffer allows you to use a tf2_ros::Buffer provided by the nodelet manager.
::ros::NodeHandle nh
Node handle for the ROS API services.
::std::shared_ptr<::tf2_ros::Buffer > buffer
The shared TF buffer.
A customizable nodelet manager.
Nodelet manager with customizable instance creation mechanism.
void reset() override
Do the resetting. Subclasses have to implement the logic.
::boost::shared_ptr<::nodelet::Nodelet > createInstance(const ::std::string &lookupName) override
NodeletManagerSharingTfBuffer(::ros::NodeHandle nh={"~"})
Create the nodelet manager.
::std::unique_ptr<::tf2_ros::TransformListener > listener
TF listener filling the shared buffer.
Interface for resettable nodes and nodelets. Automatic reset on time jumps.
A nodelet manager that can share its TF buffer with cras::NodeletWithSharedTfBuffer nodelets.
Interface for resettable nodes and nodelets. Automatic reset on time jumps.
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04