ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

timo1219520's profile - activity

2018-07-01 03:55:52 -0500 received badge  Famous Question (source)
2018-03-25 22:43:00 -0500 received badge  Notable Question (source)
2018-03-22 04:32:46 -0500 edited question Customize global costmap cost

Customize global costmap cost Hello, I wan to customize my global costmap cost to control the path range of global plann

2018-03-22 04:31:50 -0500 edited question Customize global costmap cost

Customize global costmap cost Hello, I wan to customize my global costmap cost to control the path range of global plann

2018-03-22 04:31:50 -0500 received badge  Editor (source)
2018-03-22 04:31:07 -0500 edited question Customize global costmap cost

Customize global costmap cost Hello, I wan to customize my global costmap cost to control the path range of global plann

2018-03-22 02:05:04 -0500 commented answer Customize global costmap cost

Dear David, forgive me for replying so late cause I think I need to to study as detail as possible. After referring to y

2018-03-22 01:36:42 -0500 received badge  Popular Question (source)
2018-03-22 01:36:39 -0500 marked best answer Customize global costmap cost

Hello, I wan to customize my global costmap cost to control the path range of global planner,

I try to draw some pictures to descripte my question clearly as follows:

< pic 1. > The original global costmap with StaticLayer, ObstacleLayer(by laser scaner) and InflationLayer: image description

< pic 2. > The normal global path by global planner (global_planner/GlobalPlanner , dijkstra algo.): image description

< pic 3. > Customize the cost of global costmap, both of yellow and white field are FREE SPACE, but the cost of yellow is higher than white (the white field has the lowest valid cost): image description

< pic 4. > after adjust the cost of global costmap, one example path which generated by the global planner: image description

I already read the similar question before: Custom CostMap Values

But I don't need to change the cost dynamic, just one time when load the static global map.

  • in short

I need to let the global planner know:

##The white field is the best choice, but the yellow is still good.##

when planning a global path.

P.S. I also tried to edit the .pgm map file by GIMP, keep the white field color to 0xFEFEFE, and set yellow field color to 0xEEEEEE, but the behaviour of global planner was not changed.

From I know, the initialize of global map static layer convert the map value to only three types:

  • FREE_SPACE
  • LETHAL_OBSTACLE
  • NO_INFORMATION

If you can not understand my question because my poor English, I will explain it as clearly as I can.

Thanks for your help.

2018-03-22 01:36:39 -0500 received badge  Scholar (source)
2018-03-19 00:52:46 -0500 asked a question Customize global costmap cost

Customize global costmap cost Hello, I wan to customize my global costmap cost to control the path range of global plann