mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 10:17:45 +08:00
This commit is contained in:
@@ -2815,7 +2815,10 @@ bool CoreWrapper::updateRtabmapCallback(std_srvs::Empty::Request&, std_srvs::Emp
|
||||
NODELET_INFO("2D mapping = %s", twoDMapping_?"true":"false");
|
||||
}
|
||||
rtabmap_.parseParameters(parameters_);
|
||||
mapsManager_.setParameters(parameters_);
|
||||
// Don't reset map in localization mode
|
||||
if(rtabmap_.getMemory()->isIncremental()) {
|
||||
mapsManager_.setParameters(parameters_);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user