mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 09:47:46 +08:00
fixed MapsManager's topics not remapped when using rtabmap nodelet
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ GuiWrapper::GuiWrapper(int & argc, char** argv) :
|
||||
goalPathSync_->registerCallback(boost::bind(&GuiWrapper::goalPathCallback, this, _1, _2));
|
||||
goalReachedTopic_ = nh.subscribe("goal_reached", 1, &GuiWrapper::goalReachedCallback, this);
|
||||
|
||||
setupCallbacks(nh, pnh); // do it at the end
|
||||
setupCallbacks(nh, pnh, ros::this_node::getName()); // do it at the end
|
||||
if(!this->isDataSubscribed())
|
||||
{
|
||||
defaultSub_ = nh.subscribe("odom", queueSize_, &GuiWrapper::defaultCallback, this);
|
||||
|
||||
Reference in New Issue
Block a user