mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 17:57:45 +08:00
22 lines
333 B
C++
22 lines
333 B
C++
#include "rtabmap_ros/PluginInterface.h"
|
|||
|
|
|
||
|
|
namespace rtabmap_ros
|
||
|
|
{
|
||
|
|
|
||
|
|
PluginInterface::PluginInterface()
|
||
|
|
: enabled_(false)
|
||
|
|
, name_()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void PluginInterface::initialize(const std::string name, ros::NodeHandle & nh)
|
||
|
|
{
|
||
|
|
name_ = name;
|
||
|
|
nh_ = ros::NodeHandle(nh, name);
|
||
|
|
onInitialize();
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
} // end namespace rtabmap_ros
|
||
|
|
|