|
@@ -1,40 +1,46 @@
|
|
|
-# Description:DWA局部规划器配置参数
|
|
|
+# Description:DWA局部规划器配置参数,经过实际测试得到小车最小的x轴移动速度
|
|
|
+# 是0.05m/s,当小于该值小车可能无法响应移动命令.最小的旋转速度是0.4rad/s,
|
|
|
+# 当小于该值小车将无法响应小车的旋转命令.
|
|
|
+# vy_samples:在y方向速度空间采样点数,对于差速驱动的小车y方向速度永远只有一个0.0m/s,
|
|
|
+# 所以该值最小要设置为1,不能设置为0;
|
|
|
# Author: corvin
|
|
|
# History:
|
|
|
# 20200413:init this file.
|
|
|
+# 20220902:优化导航参数,使dwa算法运行更稳定;
|
|
|
#
|
|
|
|
|
|
base_local_planner: "dwa_local_planner/DWAPlannerROS"
|
|
|
|
|
|
DWAPlannerROS:
|
|
|
# Robot configuration params
|
|
|
- acc_lim_x: 0.3
|
|
|
+ acc_lim_x: 0.5
|
|
|
acc_lim_y: 0
|
|
|
- acc_lim_th: 0.5
|
|
|
+ acc_lim_th: 1.5
|
|
|
|
|
|
- max_vel_trans: 0.4
|
|
|
- min_vel_trans: 0.25
|
|
|
+ max_vel_trans: 0.8
|
|
|
+ min_vel_trans: 0.1
|
|
|
+ trans_stopped_vel: 0.1
|
|
|
|
|
|
- max_vel_x: 0.4
|
|
|
- min_vel_x: 0.3
|
|
|
+ max_vel_x: 0.8
|
|
|
+ min_vel_x: -0.8
|
|
|
|
|
|
max_vel_y: 0
|
|
|
min_vel_y: 0
|
|
|
|
|
|
- max_vel_theta: 0.8
|
|
|
- min_vel_theta: 0.5
|
|
|
+ max_vel_theta: 2.0
|
|
|
+ min_vel_theta: 0.4
|
|
|
+ theta_stopped_vel: 0.4
|
|
|
|
|
|
# Goal Tolerance Parametes
|
|
|
- xy_goal_tolerance: 0.30
|
|
|
+ xy_goal_tolerance: 0.25
|
|
|
yaw_goal_tolerance: 0.3
|
|
|
latch_xy_goal_tolerance: false
|
|
|
|
|
|
# Forward Simulation Parametesrs
|
|
|
sim_time: 1
|
|
|
- vx_samples: 30
|
|
|
- vy_samples: 0
|
|
|
- vth_samples: 40
|
|
|
- controller_frequency: 8
|
|
|
+ vx_samples: 5
|
|
|
+ vy_samples: 1
|
|
|
+ vth_samples: 20
|
|
|
|
|
|
# Trajectory Scoring Parameters
|
|
|
path_distance_bias: 32.0
|
|
@@ -42,7 +48,7 @@ DWAPlannerROS:
|
|
|
occdist_scale: 0.02
|
|
|
forward_point_distance: 0.325
|
|
|
stop_time_buffer: 0.2
|
|
|
- scaling_speed: 0.3
|
|
|
+ scaling_speed: 0.25
|
|
|
max_scaling_factor: 0.2
|
|
|
|
|
|
# Oscillation Prevention Parameters
|