feat: add wall_reflector_detection_action, bump dock_pattern_detector, add its config
- New submodule wall_reflector_detection_action b5da961 (branch main) and
its add_subdirectory after trolley_detection_action.
- dock_pattern_detector 5c1688a -> 95c7df9: ReflectorPairMatcher for two
flat reflective strips on a wall (narrow 3/9 cm strips supported).
- config/runtime:
- action_handlers: detect_wall_reflector handler ENABLED for a robot
trial; profile wall_pair (strip 0.03 / spacing 0.09, provisional
nanoScan3 intensity 245, other numbers from sim, not measured yet);
WallReflectorDetectionActionHandler library_path.
- compound_actions: GOTOWALLSTATION = DetectWallReflectors, then
move_to wall_reflector_target with marker wall_station.
- maker_sources: wall_station profile, deliberately NOT in the
maker_sources allow-list, so the move_to leg of GOTOWALLSTATION is
rejected until detection is proven on the robot and the docking tail
limit-cycle bug is fixed.
This commit is contained in:
@@ -93,3 +93,23 @@ docking_marker_profiles:
|
||||
# Goal teach ở tâm mặt pallet → dock không đóng góp khoảng dừng, footprint_dock bị bỏ qua.
|
||||
dock_anchor: face
|
||||
footprint_dock: [[0.5,-0.5],[0.5,0.5],[-0.5,0.5],[-0.5,-0.5]]
|
||||
|
||||
# Trạm dừng trước tường có hai dải phản quang (DetectWallReflectors → `wall_reflector_target`).
|
||||
# ⚠ TẮT: `wall_station` CHƯA có trong allow-list `maker_sources` ở đầu file, nên chưa đường nào dùng
|
||||
# được profile này. Đây là chốt chặn chặng lùi của compound `GOTOWALLSTATION`: chỉ thêm tên vào
|
||||
# allow-list khi đủ hai điều kiện ghi ở compound đó (compound_actions_params.yaml).
|
||||
# Goal = pose base_link lúc đã dừng (bộ dò cộng sẵn offset_x của profile tường), mặt tường nằm
|
||||
# sau đuôi robot đúng `dock_face_offset` → cùng ngữ nghĩa với `charger`: mating_edge, nên
|
||||
# DockPlanner bỏ qua footprint_dock (khai cho đủ khoá, không vào công thức).
|
||||
wall_station:
|
||||
global_planner: DockPlanner
|
||||
local_planner: HybridDockingLocalPlanner
|
||||
dock_anchor: mating_edge
|
||||
footprint_dock: [[0.05,-1.0],[0.05,1.0],[-0.05,1.0],[-0.05,-1.0]]
|
||||
# [m] PHẢI bằng `offset_x` của profile tường đang dùng (detect_wall_reflector, wall_pair: 0.85):
|
||||
# khoảng từ goal base_link tới mặt tường. Lệch thì planner tính sai chỗ còn được xoay.
|
||||
# ► Chỉnh: đổi offset_x của profile thì đổi số này theo; trong (0, 2.0] m.
|
||||
dock_face_offset: 0.85
|
||||
# [m] Khe hở thêm cho vòng quét khi xoay tại chỗ gần tường. Tăng an toàn hơn nhưng có thể cấm
|
||||
# xoay khi robot đã gần trạm.
|
||||
dock_pivot_safety_margin: 0.10
|
||||
|
||||
Reference in New Issue
Block a user