fixed MapsManager's topics not remapped when using rtabmap nodelet

This commit is contained in:
matlabbe
2016-10-18 11:49:56 -04:00
parent 37d805daf2
commit ea859291ed
12 changed files with 58 additions and 48 deletions
+4 -3
View File
@@ -49,12 +49,13 @@ class MapAssembler
{
public:
MapAssembler() :
mapsManager_(false)
MapAssembler()
{
ros::NodeHandle pnh("~");
ros::NodeHandle nh;
mapsManager_.init(nh, pnh, ros::this_node::getName(), false);
mapDataTopic_ = nh.subscribe("mapData", 1, &MapAssembler::mapDataReceivedCallback, this);
// private service