fixed build bor rtabmap 0.10.1

This commit is contained in:
matlabbe
2015-06-28 20:40:57 -04:00
parent b98f34db7b
commit 45f3e02f0b
6 changed files with 21 additions and 11 deletions
+7
View File
@@ -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);
}
}
}