Skip to content

Commit d2970d1

Browse files
authored
Change footprint from radius to octagon of similar size (#592)
1 parent 52c303b commit d2970d1

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

turtlebot4_navigation/config/nav2.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,15 @@ local_costmap:
135135
width: 3
136136
height: 3
137137
resolution: 0.06
138-
robot_radius: 0.175
138+
#robot_radius: 0.175
139+
footprint: "[[ 0.189, 0.000],
140+
[ 0.134, -0.134],
141+
[ 0.000, -0.189],
142+
[-0.134, -0.134],
143+
[-0.189, 0.000],
144+
[-0.134, 0.134],
145+
[ 0.000, 0.189],
146+
[ 0.134, 0.134]]"
139147
plugins: ["static_layer", "voxel_layer", "inflation_layer"]
140148
inflation_layer:
141149
plugin: "nav2_costmap_2d::InflationLayer"
@@ -174,7 +182,15 @@ global_costmap:
174182
publish_frequency: 1.0
175183
global_frame: map
176184
robot_base_frame: base_link
177-
robot_radius: 0.175
185+
#robot_radius: 0.175
186+
footprint: "[[ 0.189, 0.000],
187+
[ 0.134, -0.134],
188+
[ 0.000, -0.189],
189+
[-0.134, -0.134],
190+
[-0.189, 0.000],
191+
[-0.134, 0.134],
192+
[ 0.000, 0.189],
193+
[ 0.134, 0.134]]"
178194
resolution: 0.06
179195
track_unknown_space: true
180196
plugins: ["static_layer", "obstacle_layer", "inflation_layer"]

0 commit comments

Comments
 (0)