-
Notifications
You must be signed in to change notification settings - Fork 2
/
local_costmap_params.yaml
51 lines (41 loc) · 1.95 KB
/
local_costmap_params.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
local_costmap:
## Parameters for setting the threshold on obstacle information
# obstacle_range <--> Robot will only updates its map with information about obstacle within this value
# raytrace_range <--> Robot attempts to clear out space in front of its values' meter away given sensor readings
obstacle_range : 2.5
raytrace_range : 3.0
# footprint describe the outfit of the robot >> assume the center is located at [0, 0]
# footprint: [[-0.20, -0.20], [-0.20, 0.20], [0.20, 0.20], [0.20, -0.20]]
footprint_padding: 0.01
robot_radius: 0.2
transform_tolerance: 0.5
#set the update frequences (Hz)
update_frequency: 1
# set the publish frequency of the visualization information
publish_frequency: 2.0
# define what coordinate frames the costmap should run in
global_frame: base_link
# the coordinate frame in costmap should reference for the base of the robot
robot_base_frame: base_link
# Whether or not the costmap initialize itself based on a map serverd by the map_server
static_map: false
# Whether the costmap will remain centered around the robot as the rovot moves through the world
rolling_windows: true
# Setting the width, height and resolution of the costmap || (meters) (meters/cell)
width: 3.0
height: 3.0
resolution: 0.1
origin_x: -1.5
origin_y: -1.5
# Constructing the Mulit-Layered Costmap
plugins:
- {name: sensor_obstacle, type: "costmap_2d::ObstacleLayer"}
- {name: inflation, type: "costmap_2d::InflationLayer"}
# Define each layer here ....
sensor_obstacle:
# Observation_sources <--> define a list of sensors going to pass infomation to costmap
observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: laser_frame, data_type: LaserScan, topic: scan, marking: true, clearing: true}
inflation:
inflation_radius: 0.2
cost_scaling_factor: 6.0