Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
#Set
#Set the
the velocity
velocity limits
limits of
of the
the robot
robot
max_vel_x:
max_vel_x: 0.65
0.65
min_vel_x:
min_vel_x: 0.1
0.1
max_rotational_vel:
max_rotational_vel: 1.0
1.0
min_in_place_rotational_vel:
min_in_place_rotational_vel: 0.4
0.4
#The
#The velocity
velocity the
the robot
robot will
will command
command when
when trying
trying to
to escape
escape from
from aa stuck
stuck
situation
situation
escape_vel:
escape_vel: -0.1
-0.1
#For
#For this
this example,
example, we'll
we'll use
use aa holonomic
holonomic robot
robot
holonomic_robot:
holonomic_robot: true
true
#Since
#Since we're
we're using
using aa holonomic
holonomic robot,
robot, we'll
we'll set
set the
the set
set of
of yy velocities
velocities it
it will
will
sample
sample
y_vels:
y_vels: [-0.3,
[-0.3, -0.1,
-0.1, 0.1,
0.1, -0.3]
-0.3]
(C)2013 Roi Yehoshua
base_local_planner.yaml (2)
#Set
#Set the
the tolerance
tolerance on
on achieving
achieving aa goal
goal
xy_goal_tolerance:
xy_goal_tolerance: 0.1
0.1
yaw_goal_tolerance:
yaw_goal_tolerance: 0.05
0.05
#We'll
#We'll configure
configure how
how long
long and
and with
with what
what granularity
granularity we'll
we'll forward
forward simulate
simulate
trajectories
trajectories
sim_time:
sim_time: 1.7
1.7
sim_granularity:
sim_granularity: 0.025
0.025
vx_samples:
vx_samples: 33
vtheta_samples:
vtheta_samples: 2020
#Parameters
#Parameters forfor scoring
scoring trajectories
trajectories
goal_distance_bias: 0.8
goal_distance_bias: 0.8
path_distance_bias:
path_distance_bias: 0.6
0.6
occdist_scale:
occdist_scale: 0.01
0.01
heading_lookahead:
heading_lookahead: 0.325
0.325
#We'll
#We'll use
use the
the Dynamic
Dynamic Window
Window Approach
Approach to
to control
control instead
instead of
of Trajectory
Trajectory Rollout
Rollout
for this example
for this example
dwa:
dwa: true
true
#How
#How farfar the
the robot
robot must
must travel
travel before
before oscillation
oscillation flags
flags are
are reset
reset
oscillation_reset_dist: 0.05
oscillation_reset_dist: 0.05
#Eat
#Eat up
up the
the plan
plan as
as the
the robot
robot moves
moves along
along it
it
prune_plan:
prune_plan: true
true (C)2013 Roi Yehoshua
TrajectoryPlannerROS
Thebase_local_planner::TrajectoryP
lannerROSobject is awrapperfor a
base_local_planner::TrajectoryPlan
nerobject that exposes its
functionality as aROS Wrapper.
It adheres to the
nav_core::BaseLocalPlanner
interface found in
thenav_corepackage.
NavFn Plan
Local Plan
Global Plan