mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 09:17:47 +08:00
fixed MapsManager's topics not remapped when using rtabmap nodelet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user