From 0c45d5491a435f43997909bdf14b45bc0f85c845 Mon Sep 17 00:00:00 2001 From: duongtd Date: Sat, 15 Aug 2026 13:09:09 +0700 Subject: [PATCH] sim: default the simulation to APM and move the fake dock goal ahead of the robot simulated_offset_x 2.5 with yaw 0.12 exercises the forward-entry docking side. The maze world and depth_image_proc includes are commented out because the current sim scene does not use them. --- config/runtime/action_handlers_params.yaml | 4 ++-- launch/move_base2_sim.launch | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/runtime/action_handlers_params.yaml b/config/runtime/action_handlers_params.yaml index 217e772..aa4b0cf 100644 --- a/config/runtime/action_handlers_params.yaml +++ b/config/runtime/action_handlers_params.yaml @@ -68,9 +68,9 @@ actions: # Để true trên robot thật = robot tiến vào một điểm bịa. use_simulated_goal: true simulated_parent_frame: base_link - simulated_offset_x: -1.0 # [m] ► Chỉnh: chỉ có nghĩa khi use_simulated_goal: true. + simulated_offset_x: 2.5 # [m] ► Chỉnh: chỉ có nghĩa khi use_simulated_goal: true. simulated_offset_y: 0.0 # [m] Đặt theo vị trí vật thể giả trong world Gazebo. - simulated_offset_yaw: 0.09 # [rad] + simulated_offset_yaw: 0.12 # [rad] # [s] Chờ robot đứng hẳn trước khi lấy mẫu — pose lúc vừa dừng còn dao động cơ khí. # ► Chỉnh: TĂNG nếu robot nặng/treo mềm và mẫu đầu bị lệch. GIẢM để rút ngắn chu kỳ dock. diff --git a/launch/move_base2_sim.launch b/launch/move_base2_sim.launch index c4ca56c..cf058ea 100644 --- a/launch/move_base2_sim.launch +++ b/launch/move_base2_sim.launch @@ -16,13 +16,13 @@ --> - + - + - +