File YAML là thứ người vận hành mở ra sửa khi đứng cạnh robot, nên comment phải đọc hiểu ngay. Mỗi tham số ghi đủ đơn vị, ý nghĩa và hệ quả khi tăng/giảm. Tên key, plugin, frame, topic và thuật ngữ đã chuẩn hoá giữ nguyên tiếng Anh. Không đổi một giá trị nào.
102 lines
2.6 KiB
YAML
Executable File
102 lines
2.6 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:
|
|
# f_scan_marking: f_scan_marking f_scan_clearing b_scan pc_marking pc_clearing pc_r_marking pc_r_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
|
|
expected_update_rate: 0.5
|
|
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
|
|
expected_update_rate: 0.5
|
|
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
|
|
|
|
# Việc xoá vật cản (clearing) của camera depth do VoxelLayer đảm nhiệm bằng
|
|
# frustum clearing, lấy dữ liệu từ /camera/depth/image_raw +
|
|
# /camera/depth/camera_info. Nhánh /camera_right/depth/data cũng đi đường đó.
|