mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 10:17:45 +08:00
Added rtabmap_ros plugin interface
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user