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

Revision history [back]

click to hide/show revision 1
initial version

I have solve my problem. As always in my case it was a stupid mistake. The things is :

  • the funtion getCost(mx,my) don't take meters but cells's coordinate (only positive coordinate).
  • the most importante in my case, the zero of the world is not always the center of the map (in my case my map was a little bit smaller).

So global_costmap contain obstacles from the map.