void Mapper::processNewMapIfAvailable() { if (mapBuildingInProgress && mapBuildingFuture.has_value()) { ROS_INFO_STREAM("New map available"); setMap(mapBuildingFuture.get()); mapBuildingInProgress = false; } }
void Mapper::processNewMapIfAvailable() { #if BOOST_VERSION >= 104100 if (mapBuildingInProgress && mapBuildingFuture.has_value()) { ROS_INFO_STREAM("New map available"); setMap(mapBuildingFuture.get()); mapBuildingInProgress = false; } #endif // BOOST_VERSION >= 104100 }