config: update the installed planner profiles to the current schema
custom_global_params documents the CustomPlanner namespace and drops the stale SBPL keys; dock_global_params moves to the straight-terminal DockPlanner schema and keeps its 1.0 m terminal padding.
This commit is contained in:
@@ -1,16 +1,35 @@
|
||||
# custom_planner — tham số runtime, đọc qua robot::NodeHandle("CustomPlanner").
|
||||
# Thiếu key nào thì dùng default trong CustomPlannerConfig (cùng giá trị ghi ở đây).
|
||||
CustomPlanner:
|
||||
library_path: libcustom_planner
|
||||
environment_type: XYThetaLattice
|
||||
planner_type: ARAPlanner
|
||||
allocated_time: 10.0
|
||||
initial_epsilon: 1.0
|
||||
force_scratch_limit: 10000
|
||||
forward_search: false
|
||||
nominalvel_mpersecs: 0.8
|
||||
timetoturn45degsinplace_secs: 1.31 # = 0.6 rad/s
|
||||
allow_unknown: true
|
||||
directory_to_save_paths: "/init/paths"
|
||||
pathway_filename: "pathway.txt"
|
||||
current_pose_topic_name: "/amcl_pose"
|
||||
|
||||
# [m] start/goal cách pathway dưới ngưỡng này thì coi là đã bám vào pathway
|
||||
# (quyết định cách nối NURBS start/goal vào tuyến).
|
||||
pathway_attach_distance: 0.1
|
||||
|
||||
# [m] order không có node/edge (goal trần): chỉ nhận khi start-goal gần hơn
|
||||
# ngưỡng này, ngược lại trả false để move_base2 dùng backup planner.
|
||||
bare_goal_max_distance: 0.2
|
||||
|
||||
# Bước tham số u trong [0,1] khi đo chiều dài NURBS một cạnh (không phải mét).
|
||||
nurbs_length_t_interval: 0.01
|
||||
|
||||
# [m] khoảng cách mong muốn giữa hai pose khi lấy mẫu NURBS nối start/goal.
|
||||
nurbs_point_spacing: 0.05
|
||||
|
||||
# [rad] hai cạnh thẳng đầu gãy dưới góc này thì bỏ cạnh đầu khi tính yaw.
|
||||
skip_edge_angle: 0.4712 # = 0.15*pi
|
||||
|
||||
# [rad] góc nối giữa hai cạnh <= tight: gãy gắt (cost 20); < wide: gãy vừa (cost 10).
|
||||
cost_angle_tight: 0.3142 # = 0.1*pi
|
||||
cost_angle_wide: 1.4137 # = 0.45*pi
|
||||
|
||||
# [rad] cửa sổ góc đổi hướng cần chèn chuỗi pose xoay tại chỗ giữa hai cạnh.
|
||||
rotation_insert_min: 1.4137 # = 0.45*pi
|
||||
rotation_insert_max: 2.6704 # = 0.85*pi
|
||||
|
||||
# [rad] bước yaw giữa hai pose xoay tại chỗ được chèn.
|
||||
rotation_step: 0.1571 # = 0.05*pi
|
||||
|
||||
# [rad] |yaw goal - hướng cạnh cuối| vượt ngưỡng này thì đoạn cuối đi lùi.
|
||||
backward_decision_angle: 1.5708 # = 0.5*pi
|
||||
|
||||
@@ -1,11 +1,25 @@
|
||||
# DockPlanner: straight terminal aligned with goal yaw, forward/reverse/auto.
|
||||
# This installed/default profile preserves the existing 1.0 m terminal padding.
|
||||
# Collision/free-space checking is not implemented yet.
|
||||
DockPlanner:
|
||||
library_path: libdock_planner
|
||||
MyGlobalPlanner:
|
||||
cost_threshold: 200 # Ngưỡng chi phí vật cản (0-255)
|
||||
safety_distance: 2 # Khoảng cách an toàn (cells)
|
||||
use_dijkstra: false # Sử dụng Dijkstra thay vì A*
|
||||
|
||||
# File: config/costmap_params.yaml
|
||||
global_costmap:
|
||||
inflation_radius: 0.3 # Bán kính phình vật cản
|
||||
cost_scaling_factor: 10.0 # Hệ số tỷ lệ chi phí
|
||||
kinematics:
|
||||
front_axle_frame: "steer_link"
|
||||
rear_axle_frame: "base_link"
|
||||
max_steering_angle: 0.50 # [rad], replace with measured robot value
|
||||
|
||||
maneuver:
|
||||
minimum_forward_distance: 0.25 # [m]
|
||||
maximum_forward_extension: 3.0 # [m]
|
||||
straight_lateral_tolerance: 0.03 # [m]
|
||||
straight_yaw_tolerance: 0.05 # [rad]
|
||||
|
||||
terminal:
|
||||
direction: auto # forward | reverse | auto
|
||||
reverse_distance_padding: 1.0 # [m]
|
||||
|
||||
sampling:
|
||||
path_point_spacing: 0.05 # [m]
|
||||
|
||||
# footprint_dock and dock_anchor are copied from the active marker profile.
|
||||
|
||||
Reference in New Issue
Block a user