mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 09:17:47 +08:00
fixed build bor rtabmap 0.10.1
This commit is contained in:
@@ -258,6 +258,7 @@ CoreWrapper::CoreWrapper(bool deleteDbOnStart) :
|
||||
oldParameterNames.push_back("RGBD/LocalLoopDetectionRadius");
|
||||
oldParameterNames.push_back("RGBD/ToroIterations");
|
||||
oldParameterNames.push_back("Mem/RehearsedNodesKept");
|
||||
oldParameterNames.push_back("Odom/PnPEstimation");
|
||||
for(std::list<std::string>::iterator iter=oldParameterNames.begin(); iter!=oldParameterNames.end(); ++iter)
|
||||
{
|
||||
std::string vStr;
|
||||
@@ -309,6 +310,12 @@ CoreWrapper::CoreWrapper(bool deleteDbOnStart) :
|
||||
{
|
||||
ROS_WARN("Parameter \"RGBD/PlanVirtualLinksMaxDiffID\" doesn't exist anymore.");
|
||||
}
|
||||
else if(iter->compare("RGBD/LocalLoopDetectionMaxDiffID") == 0)
|
||||
{
|
||||
ROS_WARN("Parameter name changed: Odom/PnPEstimation -> %s. Please update your launch file accordingly.",
|
||||
Parameters::kOdomEstimationType().c_str());
|
||||
parameters_.at(Parameters::kOdomEstimationType())= uNumber2Str(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user