Added rtabmap_ros plugin interface

This commit is contained in:
Prescillia
2019-12-11 12:29:24 -05:00
parent 1952f8496e
commit e7d940b3ab
5 changed files with 160 additions and 31 deletions
+21
View File
@@ -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