From cb2117f1ed6674cf7cfc644d7bb4ffc0b567b364 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 1 Oct 2026 19:14:28 -0700 Subject: [PATCH] fix(rtabmap_slam): publish goal reached when built without nav2_msgs --- rtabmap_slam/src/CoreWrapper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/rtabmap_slam/src/CoreWrapper.cpp b/rtabmap_slam/src/CoreWrapper.cpp index 94fd5517..87d86fb7 100644 --- a/rtabmap_slam/src/CoreWrapper.cpp +++ b/rtabmap_slam/src/CoreWrapper.cpp @@ -2520,8 +2520,6 @@ void CoreWrapper::process( // let nav2 finish reaching the goal #ifdef WITH_NAV2_MSGS if(nav2Client_ == 0 || rtabmap_.getPathStatus() <= 0) -#else - if(rtabmap_.getPathStatus() <= 0) #endif { if(rtabmap_.getPathStatus() > 0)