Navigation: Resolution of Global Costmap
Hi,
When I set the resolution
parameter in global_costmap_params.yaml
to different values (for instance 2.0
) in my navigation package, I expect to get waypoints from the global planner on /move_base/NavfnROS/plan
that are 2m
apart, but this does not seem to be happening. My map resolution is 0.05
, and the resolution parameter in local_costmap_params.yaml
is also set to 0.05
.
Here are some sequential sample points I get from the global planner:
x: 0.730995153353
y: -4.30375223612
z: 0.0
x: 0.740522741385
y: -4.32686625014
z: 0.0
x: 0.750001501292
y: -4.3499985747
z: 0.0
x: 0.800001502037
y: -4.39999857545
z: 0.0
x: 0.81506729126
y: -4.3626947403
z: 0.0
I am confused. You say your resolution is both 2.0 and 0.05. Which is it?
@David Lu, Initially the resolution parameter in
map.yaml
,global_costmap_params.yaml
, andlocal_costmap_params.yaml
was set to 0.05 . Since I intended to increase the distance between the waypoints generated by global planner, I only changed the resolution inglobal_costmap_params.yaml
to 2