From 6b2e244bf501e3a97d5dbc36eab09ed4ed949926 Mon Sep 17 00:00:00 2001
From: Ryan <25047695+Ryanf55@users.noreply.github.com>
Date: Wed, 6 Nov 2024 08:49:57 -0700
Subject: [PATCH] Fix missing dependency on nav2_costmap_2d (#4742)
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
---
nav2_controller/CMakeLists.txt | 1 +
nav2_controller/package.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/nav2_controller/CMakeLists.txt b/nav2_controller/CMakeLists.txt
index 8a96b0bad17..76725b8d47f 100644
--- a/nav2_controller/CMakeLists.txt
+++ b/nav2_controller/CMakeLists.txt
@@ -7,6 +7,7 @@ find_package(geometry_msgs REQUIRED)
find_package(lifecycle_msgs REQUIRED)
find_package(nav2_core REQUIRED)
find_package(nav2_common REQUIRED)
+find_package(nav2_costmap_2d REQUIRED)
find_package(nav2_msgs REQUIRED)
find_package(nav2_util REQUIRED)
find_package(nav_2d_msgs REQUIRED)
diff --git a/nav2_controller/package.xml b/nav2_controller/package.xml
index b83ae3a214c..7eb51ca459c 100644
--- a/nav2_controller/package.xml
+++ b/nav2_controller/package.xml
@@ -14,6 +14,7 @@
geometry_msgs
lifecycle_msgs
nav2_core
+ nav2_costmap_2d
nav2_msgs
nav2_util
nav_2d_msgs