A nodelet manager that can share its TF buffer with cras::NodeletWithSharedTfBuffer nodelets. More...
#include <nodelet_manager_sharing_tf_buffer.h>
Public Member Functions | |
void | init () override |
Initialize all class members. More... | |
NodeletManagerSharingTfBuffer (::ros::NodeHandle nh={"~"}) | |
Create the nodelet manager. More... | |
Public Member Functions inherited from cras::NodeletManager | |
NodeletManager (::ros::NodeHandle nh={"~"}) | |
Create the nodelet manager. More... | |
Protected Member Functions | |
::boost::shared_ptr<::nodelet::Nodelet > | createInstance (const ::std::string &lookupName) override |
Protected Member Functions inherited from cras::NodeletManager | |
virtual ::boost::shared_ptr<::nodelet::Nodelet > | createInstance (const ::std::string &lookupName) |
Create an instance of the given type. More... | |
Protected Attributes | |
::std::shared_ptr<::tf2_ros::Buffer > | buffer |
The shared TF buffer. More... | |
::std::unique_ptr<::tf2_ros::TransformListener > | listener |
TF listener filling the shared buffer. More... | |
Protected Attributes inherited from cras::NodeletManager | |
::std::unique_ptr< ClassLoader > | classLoader |
Class loader used for loading nodelets. More... | |
::std::unique_ptr<::nodelet::Loader > | loader |
Nodelet loader that loads and runs the nodelets. More... | |
::std::unique_ptr<::cras::LoaderROS > | loaderRos |
ROS API for the nodelet manager. More... | |
::ros::NodeHandle | nh |
Node handle for the ROS API services. More... | |
Additional Inherited Members | |
Protected Types inherited from cras::NodeletManager | |
typedef ::pluginlib::ClassLoader<::nodelet::Nodelet > | ClassLoader |
Type of the class loader used for loading nodelets. More... | |
A nodelet manager that can share its TF buffer with cras::NodeletWithSharedTfBuffer nodelets.
Definition at line 30 of file nodelet_manager_sharing_tf_buffer.h.
|
explicit |
Create the nodelet manager.
[in] | nh | The nodehandle used for nodelet load/unload ROS services. |
|
overrideprotected |
|
overridevirtual |
Initialize all class members.
Reimplemented from cras::NodeletManager.
|
protected |
The shared TF buffer.
Definition at line 45 of file nodelet_manager_sharing_tf_buffer.h.
|
protected |
TF listener filling the shared buffer.
Definition at line 48 of file nodelet_manager_sharing_tf_buffer.h.