feat: copy terminal_direction down to the docking global planner

Third per-marker key alongside footprint_dock and dock_anchor, so a marker can
override which direction the final straight leg into the dock is driven.
This commit is contained in:
2026-08-15 13:09:09 +07:00
parent fd0249d3d0
commit 85e40cbef2
4 changed files with 11 additions and 3 deletions

View File

@@ -44,7 +44,10 @@ bool isFinitePose(const robot_geometry_msgs::PoseStamped& pose)
///
/// `dock_anchor` khai goal pose của marker nằm ở tâm footprint dock (`center`) hay ngay trên mặt
/// tiếp cận (`face`). `face` thì DockPlanner bỏ qua `footprint_dock` hoàn toàn.
constexpr const char* kMarkerPlannerParams[] = {"footprint_dock", "dock_anchor"};
/// `terminal_direction` chọn chiều chuyển động trên đoạn thẳng cuối: forward/reverse/auto.
constexpr const char* kMarkerPlannerParams[] = {
"footprint_dock", "dock_anchor", "terminal_direction"
};
/**
* @brief Chép MỘT khoá giữa hai namespace của param tree, giữ nguyên kiểu.