Files
move_base2/config/runtime/costmap_common_params.yaml
duongtd 96df99fed2 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>
2026-08-28 22:34:31 +07:00

113 lines
3.8 KiB
YAML
Executable File

robot_base_frame: base_link
transform_tolerance: 1.0
performance_metrics_enabled: true
performance_metrics_period: 5.0
obstacle_range: 3.0
#mark_threshold: 1
publish_voxel_map: true
footprint_padding: 0.0
navigation_map:
map_topic: /map
map_pkg: managerments
map_file: maze
virtual_walls_map:
map_topic: /map
namespace: /virtual_walls
map_pkg: managerments
map_file: maze
use_maximum: true
lethal_cost_threshold: 100
obstacles:
observation_sources: b_scan pc_marking pc_clearing pc_r_marking pc_r_clearing
# f_scan_marking: f_scan_marking f_scan_clearing
# topic: /f_scan
# data_type: LaserScan
# clearing: false
# marking: true
# inf_is_valid: true
# min_obstacle_height: 0.0
# max_obstacle_height: 0.25
# f_scan_clearing:
# topic: /f_scan
# data_type: LaserScan
# clearing: true
# marking: false
# inf_is_valid: true
# min_obstacle_height: 0.0
# max_obstacle_height: 0.25
b_scan:
topic: /b_scan
data_type: LaserScan
clearing: true
marking: true
inf_is_valid: true
frustum_clearing_enabled: false
min_obstacle_height: 0.0
max_obstacle_height: 0.25
pc_marking:
topic: /camera/depth/points_proc
data_type: PointCloud2
clearing: false
marking: true
inf_is_valid: false
frustum_clearing_enabled: false
observation_persistence: 0.0
# [s] Quá hạn này mà buffer chưa có mẫu mới thì costmap bị coi là stale và BÁNH BỊ KHOÁ.
# So bằng WALL CLOCK, trong khi camera Gazebo publish 5 Hz theo SIM TIME — khoảng cách thật
# là 0.2/RTF. Ở 0.8 s thì chỉ cần RTF < 0.25 là quá hạn, và đo ngày 28/8 RTF đúng khoảng đó
# (khoảng cách thật 0.85-1.36 s). Nâng lên 2.0 để dung sai theo RTF của máy dev.
# ► Chỉnh: đây KHÔNG phải chỗ chữa gốc — gốc là RTF thấp. Đặt quá lớn thì robot chạy lâu hơn
# trên dữ liệu cũ trước khi dừng; đặt nhỏ hơn khoảng cách thật thì robot đứng im vĩnh viễn.
expected_update_rate: 2.0
obstacle_range: 2.5
raytrace_range: 3.0
min_obstacle_height: 0.1
max_obstacle_height: 1.0
pc_clearing:
topic: /camera/depth/data
data_type: DepthCameraData
clearing: false
marking: true
frustum_clearing_enabled: true
frustum_clearing_pixel_step: 8
frustum_min_range: 0.20
frustum_max_range: 3.5
pc_r_marking:
topic: /camera_right/depth/points_proc
data_type: PointCloud2
clearing: false
marking: true
inf_is_valid: false
frustum_clearing_enabled: false
observation_persistence: 0.0
# [s] Quá hạn này mà buffer chưa có mẫu mới thì costmap bị coi là stale và BÁNH BỊ KHOÁ.
# So bằng WALL CLOCK, trong khi camera Gazebo publish 5 Hz theo SIM TIME — khoảng cách thật
# là 0.2/RTF. Ở 0.8 s thì chỉ cần RTF < 0.25 là quá hạn, và đo ngày 28/8 RTF đúng khoảng đó
# (khoảng cách thật 0.85-1.36 s). Nâng lên 2.0 để dung sai theo RTF của máy dev.
# ► Chỉnh: đây KHÔNG phải chỗ chữa gốc — gốc là RTF thấp. Đặt quá lớn thì robot chạy lâu hơn
# trên dữ liệu cũ trước khi dừng; đặt nhỏ hơn khoảng cách thật thì robot đứng im vĩnh viễn.
expected_update_rate: 2.0
obstacle_range: 2.5
raytrace_range: 3.0
min_obstacle_height: 0.1
max_obstacle_height: 1.0
pc_r_clearing:
topic: /camera_right/depth/data
data_type: DepthCameraData
clearing: false
marking: true
frustum_clearing_enabled: true
frustum_clearing_pixel_step: 8
frustum_min_range: 0.20
frustum_max_range: 3.5
# Depth camera clearing is handled by VoxelLayer frustum clearing from
# /camera/depth/image_raw + /camera/depth/camera_info. /camera_right/depth/data