config: priest — bật gate G1 + bao êm ái cho cây sim

10 khoá mới khớp priest_local_planner (gate theo khoảng cách, accel/decel/
jerk comfort, trần gia tốc góc, head slowdown slew) và bật
collision_check_enabled sau khi gate đổi sang phân mức dừng/giảm tốc.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-28 22:34:31 +07:00
parent c626c4d45d
commit 96df99fed2
6 changed files with 104 additions and 13 deletions

View File

@@ -48,6 +48,23 @@
<param name="primitive_filename" value="$(arg primitive_filename)" />
<param name="global_plan_msg_type" value="$(arg global_plan_msg_type)" />
<!-- Nguồn dữ liệu depth vào costmap. Hai chế độ, KHÔNG tương đương nhau:
true = SensorConverter tự subscribe ảnh depth thô của CẢ HAI camera rồi tự dựng đám mây.
Nuôi đủ `/camera/depth/points_proc` lẫn `/camera_right/depth/points_proc`.
false = chờ node robot_depth_image_proc publish đám mây sẵn. Node đó đang cấu hình MỘT
camera, và nhánh này của SensorConverter cũng chỉ subscribe MỘT topic — nên buffer
camera phải không bao giờ được nạp, costmap stale vĩnh viễn, robot đứng im từ
giây đầu (quan sát ngày 28/8: buffer phải tăng đơn điệu tới 8.7 s).
► Muốn dùng false thì phải làm ĐỦ hai việc: cấu hình depth_image_proc cho 2 camera, VÀ
thêm subscriber camera phải vào nhánh else của SensorConverter. -->
<param name="use_depth_image_input" value="true" />
<!-- Số luồng phục vụ queue cảm biến riêng của SensorConverter (tách khỏi ros::spin() toàn cục,
nơi có timer phát cmd_vel 20 Hz). 1 = tuần tự như cũ nhưng vẫn tách queue. -->
<param name="sensor_spinner_threads" value="4" />
<!-- maker_sources is loaded by robot::NodeHandle from this launch's move_base2 runtime
overlay. Do not also load amr_startup's legacy copy: its contents diverge. -->
<rosparam file="$(find amr_startup)/config/move_base_common_params.yaml" command="load" />

View File

@@ -19,7 +19,12 @@
<arg name="robot_type" default="T800" />
<arg name="gui" default="true" doc="false = chạy gzserver headless" />
<arg name="rviz" default="true" />
<arg name="depth_proc" default="true" doc="Bật khi cần đường depth camera -> costmap" />
<!-- Node robot_depth_image_proc. KHÔNG cần khi `use_depth_image_input: true` (mặc định):
ở chế độ đó SensorConverter tự dựng đám mây từ ảnh depth thô của cả hai camera, còn node này
lọc full-res 424x240 (edge + dilate + temporal) rồi publish một topic KHÔNG AI ĐỌC — chỉ tốn
CPU và kéo RTF của Gazebo xuống, mà chính RTF thấp mới làm buffer quá hạn.
► Chỉ bật khi chuyển sang `use_depth_image_input: false` và đã cấu hình nó cho 2 camera. -->
<arg name="depth_proc" default="false" doc="Bật khi dùng use_depth_image_input:=false" />
<!-- 1. Gazebo + model robot T800 + world -->
<!-- <include file="$(find amr_startup)/launch/robot_maze_world.launch" if="$(eval world == 'maze')">