config: enable detect_trolley, point PICKUP at the trolley, set the trolley footprint_dock

- action_handlers_params.yaml: load the detect_trolley handler
- compound_actions_params.yaml: PICKUP now runs DetectTrolley and docks to
  marker `trolley` instead of DetectPallet / marker `pallet`
- maker_sources.yaml: trolley footprint_dock = outer box of the 4 legs of
  tci_trolley (0.75 x 0.547 m), simulation numbers until a real trolley is
  measured
This commit is contained in:
2026-10-28 14:11:01 +07:00
parent 43e82bb18c
commit 4590a214cf
3 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ actions:
- {name: detect_lidar, type: DockPatternActionHandler}
# Dò xe hàng 4 chân (gói trolley_detection_action). TẮT: bỏ comment dòng dưới để bật, SAU KHI
# đã đo xe thật và sửa số trong khối `detect_trolley` bên dưới.
# - {name: detect_trolley, type: TrolleyDetectionActionHandler}
- {name: detect_trolley, type: TrolleyDetectionActionHandler}
# --- detect: lấy mẫu frame đích rồi ghi ra một frame TF ổn định ---------------------------------
#

View File

@@ -56,8 +56,10 @@ vda5050_src:
# --- PickUp: lấy kệ ---------------------------------------------------------------------------
PICKUP:
steps:
- {action: DetectPallet}
- {move_to: dock_target, profile: docking, marker: pallet}
# - {action: DetectPallet}
# - {move_to: dock_target, profile: docking, marker: pallet}
- {action: DetectTrolley}
- {move_to: dock_target, profile: docking, marker: trolley}
# Lùi ra khỏi khe kệ. Quãng đường tương đối được quy ra pose tuyệt đối tại `submit`, từ pose
# LÚC ĐÓ — lúc adapter sinh chặng thì robot còn chưa tới nơi.
# ► Chỉnh: [m] âm = lùi. Đặt đủ dài để càng nâng ra hẳn khỏi khe kệ trước khi robot xoay;

View File

@@ -70,7 +70,7 @@ docking_marker_profiles:
local_planner: HybridDockingLocalPlanner
# Goal ở trọng tâm xe trolley (robot chui gầm) → cộng extent tâm→mặt từ footprint_dock.
dock_anchor: center
footprint_dock: [[0.583,-0.48],[0.583,0.48],[-0.583,0.48],[-0.583,-0.48]]
footprint_dock: [[0.375,-0.2735],[0.375,0.2735],[-0.375,0.2735],[-0.375,-0.2735]]
charger:
global_planner: DockPlanner