Retune the dev simulation config
Bench and Gazebo settings only; the robot trees are untouched. Planners: the position profile moves to PriestLocalPlanner, and the three docking profiles all point at HybridDockingLocalPlanner instead of the Stanley instances. Loop drops to 20 Hz, command_semantics back to twist for the sim drive, max_vel_x to 1.20, recovery behaviours and the path monitor off while the docking chain is under test. PRIEST runs cem 3 with performance_metrics off and debug_level 0, which is the configuration the CPU measurements were taken at. Metrics have to stay off for any further benchmark. The SBPL primitive path pointed into rl_ws, a workspace that is not on this machine; it now points at the copy in sbpl_lattice_planner. sensor_store's report_period goes to 0 to stop the periodic dump. The sim launch defaults robot_type to T800 and re-enables depth_image_proc. The VDA5050 charger flow replaces the pallet fixture: DetectCharger and the charger marker, with the trailing back-off commented out. The rotate compound action is renamed to lowercase to match what the config reader looks up.
This commit is contained in:
@@ -45,12 +45,14 @@ maker_sources: trolley charger dock_station pallet
|
||||
# face — goal đã nằm ngay tâm MẶT tiếp cận; dock không đóng góp vào khoảng dừng,
|
||||
# footprint_dock bị bỏ qua hoàn toàn (DockPlanner log info nếu vẫn khai).
|
||||
#
|
||||
# Có thể thêm `terminal_direction: forward|reverse|auto` để override chiều đoạn cuối theo marker.
|
||||
# Ba khoá này là các khoá DUY NHẤT trong bảng được rót xuống plugin:
|
||||
# KHÔNG có khoá nào override chiều chạy của đoạn thẳng cuối. Chiều đó được SUY RA từ phía robot
|
||||
# đứng so với goal, vì goal đã được offset sẵn từ tầng trên cho đúng manơ định làm — ép chiều bằng
|
||||
# tham số sẽ mâu thuẫn với chính vị trí goal.
|
||||
# Hai khoá này là các khoá DUY NHẤT trong bảng được rót xuống plugin:
|
||||
# `PlannerRunner::bindDockingMarker()` chép chúng sang namespace của `global_planner` khai ngay bên
|
||||
# trên, TRƯỚC khi instance được dựng, rồi dựng lại instance khi marker đổi.
|
||||
#
|
||||
# ⚠ Chỉ `DockPlanner` đọc ba khoá này. Marker nào khai `global_planner: TwoPointsPlanner` thì giá
|
||||
# ⚠ Chỉ `DockPlanner` đọc hai khoá này. Marker nào khai `global_planner: TwoPointsPlanner` thì giá
|
||||
# trị vẫn được chép sang namespace đó nhưng không ai đọc — không lỗi, không log, chỉ là không có
|
||||
# tác dụng.
|
||||
#
|
||||
@@ -59,29 +61,33 @@ maker_sources: trolley charger dock_station pallet
|
||||
# goal của từng loại: goal teach ở mặt (pallet, charger) → face; goal teach ở tâm (trolley chui
|
||||
# gầm) → center.
|
||||
docking_marker_profiles:
|
||||
# Mọi profile marker dùng HybridDockingLocalPlanner: CÙNG plugin hybrid nhưng là instance RIÊNG,
|
||||
# đọc block `HybridDockingLocalPlanner` trong hybrid_local_planner_params.yaml (bản sao ĐẦY ĐỦ của
|
||||
# block chạy tự do + override cho dock: bật plan_tf_freeze, tắt né vật cản, hạ vận tốc, siết dung
|
||||
# sai goal). Khoá ở đây THẮNG `docking:` trong move_base_common_params.yaml.
|
||||
trolley:
|
||||
global_planner: DockPlanner
|
||||
local_planner: StanleyDockingLocalPlanner
|
||||
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]]
|
||||
|
||||
charger:
|
||||
global_planner: TwoPointsPlanner
|
||||
local_planner: StanleyDockingLocalPlanner
|
||||
global_planner: DockPlanner
|
||||
local_planner: HybridDockingLocalPlanner
|
||||
# Goal teach ngay tâm mặt trạm sạc. Chỉ có tác dụng nếu đổi sang DockPlanner.
|
||||
dock_anchor: face
|
||||
footprint_dock: [[0.583,-0.48],[0.583,0.48],[-0.583,0.48],[-0.583,-0.48]]
|
||||
|
||||
dock_station:
|
||||
global_planner: TwoPointsPlanner
|
||||
local_planner: StanleyDockingLocalPlanner
|
||||
local_planner: HybridDockingLocalPlanner
|
||||
dock_anchor: center
|
||||
footprint_dock: [[0.583,-0.48],[0.583,0.48],[-0.583,0.48],[-0.583,-0.48]]
|
||||
|
||||
pallet:
|
||||
global_planner: DockPlanner
|
||||
local_planner: StanleyDockingLocalPlanner
|
||||
local_planner: HybridDockingLocalPlanner
|
||||
# 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.9,-0.8],[0.9,0.8],[-0.9,0.8],[-0.9,-0.8]]
|
||||
dock_anchor: center
|
||||
footprint_dock: [[0.5,-0.5],[0.5,0.5],[-0.5,0.5],[-0.5,-0.5]]
|
||||
|
||||
Reference in New Issue
Block a user