From 0b01c22019b66c905d6d67611d333742e1e37a55 Mon Sep 17 00:00:00 2001 From: HiepLM Date: Wed, 7 Jan 2026 09:19:10 +0700 Subject: [PATCH] robot_nav_core --- CMakeLists.txt | 2 +- include/custom_planner/custom_planner.h | 4 ++-- src/custom_planner.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 989ebb1..d70a2e1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ target_link_libraries(custom_planner robot_time data_convert robot_costmap_2d - nav_core + robot_nav_core robot_protocol_msgs ) diff --git a/include/custom_planner/custom_planner.h b/include/custom_planner/custom_planner.h index 9f1d50c..6f619eb 100755 --- a/include/custom_planner/custom_planner.h +++ b/include/custom_planner/custom_planner.h @@ -16,7 +16,7 @@ using namespace std; #include // global representation -#include +#include // tf #include @@ -56,7 +56,7 @@ struct OrderNode{ double theta; }; -class CustomPlanner : public nav_core::BaseGlobalPlanner{ +class CustomPlanner : public robot_nav_core::BaseGlobalPlanner{ public: /** diff --git a/src/custom_planner.cpp b/src/custom_planner.cpp index ab1ab3f..041ec6e 100755 --- a/src/custom_planner.cpp +++ b/src/custom_planner.cpp @@ -1177,7 +1177,7 @@ namespace custom_planner } // Export factory function -static boost::shared_ptr custom_planner_plugin() { +static boost::shared_ptr custom_planner_plugin() { return boost::make_shared(); }