docs: viết lại comment các file config bằng tiếng Việt

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.
This commit is contained in:
2026-08-15 13:37:50 +07:00
parent 0c45d5491a
commit 31c5b218cb
6 changed files with 248 additions and 209 deletions

View File

@@ -7,7 +7,7 @@ LocalPlannerAdapter:
MPPILocalPlanner:
library_path: libmppi_local_planner
# Robot limits [m/s, rad/s]
# ===== Giới hạn robot [m/s, rad/s] =====
min_velocity: 0.0
# Cao hon reference_velocity mot khoang dem (headroom). Neu de sat ref thi
# nua tren cua nhieu sampling bi clamp o max, keo van toc trung binh xuong
@@ -19,7 +19,7 @@ MPPILocalPlanner:
obstacle_point_radius: 0.08
footprint_padding: 0.05
# MPPI core
# ===== Lõi MPPI =====
# Horizon = model_dt * time_steps = 3.6 s ~ 1.8 m @0.5 m/s.
# Truoc day 1.4 s (0.7 m) qua ngan: robot chi "thay" vat can khi da sat, khong con
# cho de vong qua -> hoac ket hoac lang nhang. Do thuc te: 0.7m/1.2m khong toi dich;
@@ -38,14 +38,14 @@ MPPILocalPlanner:
wz_std: 0.25
reference_velocity: 0.48
# Path and goal
# ===== Path và goal =====
# Phai lon hon horizon (1.8 m), neu khong terminal goal_weight se keo robot ve
# diem cat cua reference path va lam no giam toc moi chu ky.
max_global_plan_lookahead_dist: 3.0
xy_goal_tolerance: 0.10
yaw_goal_tolerance: 0.10
# Costmap and cost weights
# ===== Costmap và trọng số hàm chi phí =====
obstacle_range: 2.5
obstacle_cost_threshold: 150
obstacle_cell_step: 2
@@ -77,7 +77,7 @@ MPPILocalPlanner:
stuck_omega_threshold: 0.05
stuck_patience_cycles: 40
# --- Covariance thich nghi (giai doan 2) ---
# ===== Covariance thích nghi (giai đoạn 2) =====
# Moi chu ky fit lai do rong nhieu cho TUNG buoc thoi gian tu chinh batch.
# vx_std/wz_std o tren chi con la gia tri khoi tao va gia tri sau reset.
adaptive_covariance: true