Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Oct 9, 2024
1 parent e76cbed commit 1950b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtabmap_util/src/MapsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ void MapsManager::publishMaps(
(elevationMapPub_->get_subscription_count() && !latched_.at(&elevationMapPub_)))
{
grid_map_msgs::msg::GridMap::UniquePtr msg;
#if RTABMAP_VERSION_MAJOR>0 || (RTABMAP_VERSION_MAJOR==0 && RTABMAP_VERSION_MINOR>21) || (RTABMAP_VERSION_MAJOR==0 && RTABMAP_VERSION_MINOR==21 && RTABMAP_VERSION_MINOR>=8)
#if RTABMAP_VERSION_MAJOR>0 || (RTABMAP_VERSION_MAJOR==0 && RTABMAP_VERSION_MINOR>21) || (RTABMAP_VERSION_MAJOR==0 && RTABMAP_VERSION_MINOR==21 && RTABMAP_VERSION_PATCH>=8)
msg = grid_map::GridMapRosConverter::toMessage(*elevationMap_->gridMap());
#else
msg = grid_map::GridMapRosConverter::toMessage(elevationMap_->gridMap());
Expand Down

0 comments on commit 1950b95

Please sign in to comment.