48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
#For full documentation of the parameters in this file, and a list of all the
|
|
#parameters available for TrajectoryPlannerROS, please see
|
|
#http://www.ros.org/wiki/base_local_planner
|
|
TrajectoryPlannerROS:
|
|
#Set the acceleration limits of the robot
|
|
acc_lim_th: 3.2
|
|
acc_lim_x: 0.5
|
|
acc_lim_y: 0.5
|
|
|
|
#Set the velocity limits of the robot
|
|
max_vel_x: 0.4
|
|
min_vel_x: 0.1
|
|
max_rotational_vel: 1.0
|
|
min_in_place_rotational_vel: 0.4
|
|
|
|
#The velocity the robot will command when trying to escape from a stuck situation
|
|
escape_vel: -0.2
|
|
|
|
#For this example, we'll use a holonomic robot
|
|
holonomic_robot: false
|
|
|
|
#Since we're using a holonomic robot, we'll set the set of y velocities it will sample
|
|
y_vels: [-0.3, -0.1, 0.1, 0.3]
|
|
|
|
#Set the tolerance on achieving a goal
|
|
xy_goal_tolerance: 0.1
|
|
yaw_goal_tolerance: 0.05
|
|
|
|
#We'll configure how long and with what granularity we'll forward simulate trajectories
|
|
sim_time: 3.0
|
|
sim_granularity: 0.025
|
|
vx_samples: 5
|
|
vtheta_samples: 20
|
|
|
|
#Parameters for scoring trajectories
|
|
goal_distance_bias: 0.4
|
|
path_distance_bias: 0.7
|
|
occdist_scale: 0.3
|
|
heading_lookahead: 0.325
|
|
|
|
#We'll use the Dynamic Window Approach to control instead of Trajectory Rollout for this example
|
|
dwa: false
|
|
|
|
#How far the robot must travel before oscillation flags are reset
|
|
oscillation_reset_dist: 0.01
|
|
|
|
#Eat up the plan as the robot moves along it
|
|
prune_plan: false |