config: bo sung schema/comment snapshot_for_readers + debug_plan/debug_grid_window

Dong bo schema tu cay sim (Test/move_base2/config/runtime) sang cay nav core dung khi chay
ngoai move_base2. costmap_global_params.yaml: comment snapshot_for_readers (gia tri giu
false, cay nay chua do). sbpl_global_params.yaml: khai tuong minh allow_unknown (truoc
ngam default true khong ghi ra), them debug_plan/debug_grid_window (mac dinh bat/0) cho log
chan doan makePlan fail moi o sbpl_lattice_planner. Chi them schema + comment, khong doi
gia tri da tune.
This commit is contained in:
2026-09-18 13:33:07 +07:00
parent 8d27305eac
commit 5fe9a188a4
2 changed files with 31 additions and 3 deletions

View File

@@ -14,8 +14,12 @@ global_costmap:
# 0 = giữ nguyên output cũ; 1 = thêm dòng lock_wait/lock_hold (tranh chấp mutex với planner),
# kích thước window update [cells] và số cycle rỗng; 2 = thêm per-layer: layer nào nở bounds bao nhiêu [m^2].
debug_level: 0
# [bool] Reader tính toán trên BẢN COPY (snapshot) của costmap thay vì lưới live — xem giải thích
# ở costmap_local_params.yaml. Global để false: global planner chưa chuyển sang snapshot.
# [bool] Global planner tính toán trên BẢN COPY (snapshot) của costmap thay vì lưới live.
# true: PlannerRunner copy lưới dưới lock (~ms) đầu mỗi lượt makePlan rồi đưa bản copy cho planner
# qua capability "<alias>ExternalGrid" (hiện chỉ SBPLLatticePlanner có) — thread update global
# costmap hết bị chặn 6-14 s mỗi lượt SBPL cạn search. Kết quả plan không đổi.
# false: hành vi cũ — giữ mutex suốt makePlan. Công tắc rollback, không cần build lại.
# ► Chỉnh: cây này giữ false tới khi cây sim (Test/move_base2/config/runtime) đo xong.
snapshot_for_readers: false
raytrace_range: 3.0
resolution: 0.05