From fafa638b5a67f238c67d7ae59ebed3b5c081e07c Mon Sep 17 00:00:00 2001 From: duongtd Date: Tue, 15 Sep 2026 15:27:09 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20th=C3=AAm=20submodule=20stanley=5Floca?= =?UTF-8?q?l=5Fplanner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://git.pnkr.asia/DuongTD/stanley_local_planner.git, branch main, pin 5845ec2 (khớp T800_ws hiện tại). Path src/Algorithms/Packages/local_planners/stanley_local_planner theo đúng bảng map T800_ws/src/AMR_T800/Test/stanley_local_planner. Thêm add_subdirectory vào root CMakeLists.txt cạnh 3 local planner sinh đôi (hybrid/mppi/priest), cập nhật comment Ba -> Bốn. Config config/runtime/stanley_local_planner_params.yaml đã có sẵn từ trước (library_path: libstanley_local_planner khớp target), chưa cần đổi gì. --- .gitmodules | 4 ++++ CMakeLists.txt | 6 +++++- .../Packages/local_planners/stanley_local_planner | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 160000 src/Algorithms/Packages/local_planners/stanley_local_planner diff --git a/.gitmodules b/.gitmodules index 7536352..b132ed9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -85,3 +85,7 @@ [submodule "src/Libraries/grid_map_core"] path = src/Libraries/grid_map_core url = https://git.pnkr.asia/DuongTD/grid_map_core.git +[submodule "src/Algorithms/Packages/local_planners/stanley_local_planner"] + path = src/Algorithms/Packages/local_planners/stanley_local_planner + url = https://git.pnkr.asia/DuongTD/stanley_local_planner.git + branch = main diff --git a/CMakeLists.txt b/CMakeLists.txt index eb3adbb..e4dedc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ if (NOT TARGET pnkx_local_planner) add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/pnkx_local_planner) endif() -# Ba local planner hiện thực interface robot_nav_core2::LocalPlanner, được gọi tới qua +# Bốn local planner hiện thực interface robot_nav_core2::LocalPlanner, được gọi tới qua # LocalPlannerAdapter. Đều cần robot_nav_core2 + robot_costmap_2d đã có ở trên. # # ⚠ move_base_common_params.yaml đang trỏ `PriestLocalPlanner` và `HybridDockingLocalPlanner`. @@ -206,6 +206,10 @@ if (NOT TARGET priest_local_planner) add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/priest_local_planner) endif() +if (NOT TARGET stanley_local_planner) + add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/stanley_local_planner) +endif() + if (NOT TARGET robot_actionlib_msgs) add_subdirectory(${CMAKE_SOURCE_DIR}/src/Navigations/Libraries/robot_actionlib_msgs) endif() diff --git a/src/Algorithms/Packages/local_planners/stanley_local_planner b/src/Algorithms/Packages/local_planners/stanley_local_planner new file mode 160000 index 0000000..5845ec2 --- /dev/null +++ b/src/Algorithms/Packages/local_planners/stanley_local_planner @@ -0,0 +1 @@ +Subproject commit 5845ec2560ac5b42d4d59058cc9a78dc4af1900e