From b1c9bcdea2393745adfde57cf7d34d036e584ce2 Mon Sep 17 00:00:00 2001 From: duongtd Date: Sat, 3 Oct 2026 16:10:42 +0700 Subject: [PATCH] Revert "fix: sot navigation.h khi dong bo route graph - addRouteGraph() chua co trong BaseNavigation" This reverts commit 929ce11384566174a6c838588999d4b5f84bcacf. --- .../include/move_base_core/navigation.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Navigations/Cores/move_base_core/include/move_base_core/navigation.h b/src/Navigations/Cores/move_base_core/include/move_base_core/navigation.h index 7a9057c..977059d 100755 --- a/src/Navigations/Cores/move_base_core/include/move_base_core/navigation.h +++ b/src/Navigations/Cores/move_base_core/include/move_base_core/navigation.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -253,21 +252,6 @@ namespace robot */ virtual void addStaticMap(const std::string &topic, robot_nav_msgs::OccupancyGrid map) = 0; - /** - * @brief Hand in a route graph compiled offline from the static map (see - * robot_sensor_msgs/RouteGraph). Optional: a global planner that can use one reads - * it from the shared sensor store; without it every planner behaves as before. - * - * @param topic Store KEY, same rule as @ref addStaticMap: must match an entry in - * `sensor_store_params.yaml` (by convention `/route_graph`) and the topic the - * consumer is configured with. Unknown key = dropped with one log line. - * @param graph The graph. Its `width/height/resolution/origin` and `map_hash` must - * describe the map passed to @ref addStaticMap; the consumer verifies that - * against its live static layer and rejects a mismatch. Push it AFTER the - * static map it belongs to. - */ - virtual void addRouteGraph(const std::string &topic, robot_sensor_msgs::RouteGraph graph) = 0; - /** * @brief Add a laser scan to the navigation system. * @param topic Logical topic this scan arrives on. See @ref addStaticMap for what