Fixed build error when rtabmap is not built with octomap

This commit is contained in:
matlabbe
2016-09-29 12:28:48 -04:00
parent 5119b3ab90
commit 5167492771
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ std::map<int, rtabmap::Transform> MapsManager::updateMapCaches(
{
if(updateGrid && gridMaps_.size() < 5)
{
ROS_WARN("Many occupancy grids should be loaded (~%d), this may take a while to update the map(s)...", int(filteredPoses.size()-octomap_->addedNodes().size()));
ROS_WARN("Many occupancy grids should be loaded (~%d), this may take a while to update the map(s)...", int(filteredPoses.size()-gridMaps_.size()));
longUpdate = true;
}
#ifdef WITH_OCTOMAP_ROS