config(runtime): LaneRoutePlanner with zone layers, costmap shared keys under root:
- move_base_common: position global_planner LaneRoutePlanner. - costmap_common_params.yaml uses the root: layout. forbidden, preferred and unpreferred blocks are active (track_unknown_space false, trinary), a direction block (DirectionalLayer, max_deviation_deg 45) is added, and lidar_obstacles reads f_scan and b_scan. - Plugin lists move to costmap_global_params_plugins.yaml (navigation_map, forbidden, preferred, unpreferred, lidar_obstacles, inflation, direction) and costmap_local_params_plugins.yaml (forbidden, lidar_obstacles, inflation_layer; depth_obstacles commented). The *_plugins_no_virtual_walls.yaml files are removed. - directional_layer_params.yaml: enabled true, max_deviation_deg 45, debug_state false. - action_handlers: drop the unused v_wide detect_lidar profile. - Comment cleanup in costmap_global_params.yaml and costmap_local_params.yaml.
This commit is contained in:
@@ -11,7 +11,7 @@ directional_layer:
|
||||
# Bật: sau mỗi static map, layer PENDING đến khi nhận grid hợp lệ và planner
|
||||
# phải từ chối lập đường trong lúc chờ. Host phải gửi grid sau mỗi static map;
|
||||
# dùng data rỗng nếu map không có zone. Tắt để bỏ ràng buộc hướng.
|
||||
enabled: false
|
||||
enabled: true
|
||||
# Phải trùng map_topic của StaticLayer bản đồ điều hướng (ở đây là /map; "map" khớp cả "/map").
|
||||
# Đặt sai khiến layer không thoát PENDING hoặc không nhận biết khi map đổi.
|
||||
map_topic: "map"
|
||||
@@ -25,6 +25,6 @@ directional_layer:
|
||||
# mprim 16 hướng) SBPL có thể không tìm được đường.
|
||||
# Tăng quá 90: cho phép cả hướng hơi ngược chiều zone, zone một chiều yếu đi.
|
||||
# Phạm vi hợp lệ: 0 < giá trị < 180; ngoài phạm vi nav core từ chối khởi động.
|
||||
max_deviation_deg: 90.0
|
||||
max_deviation_deg: 45.0
|
||||
# Bật để ghi log chuyển trạng thái PENDING/READY; tắt để giảm log bình thường.
|
||||
debug_state: true
|
||||
debug_state: false
|
||||
|
||||
Reference in New Issue
Block a user