mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
fix(rtabmap_slam): publish goal reached when built without nav2_msgs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user