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

Local costmap is empty

asked 2014-10-01 04:17:41 -0500

Mehdi. gravatar image

I am trying something with the simulation of navigation with Turtlebot but with different frame_id's and topics. I checked that the laser data is being relayed to /scan and that my TF tree is consistent and that amcl and move_base are using the right frame_id's and subscribing to the right topics. Even with those conditions and with the laser detecting obstacles, my local costmap is empty (full of zeros) but the global costmap is just fine. Is there some other parameters I should consider that could influence the local costmap?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-10-05 22:26:09 -0500

Mehdi. gravatar image

I finally got it to work. While defining the obstacle_layer, my min and max obstacle height parameters were set between 0.25 and 0.35. Apparently the map walls in STDR are defined to be higher or lower than that. Setting the range between 0 and 2 was enough to fix the problem and my local costmap is working fine.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2014-10-01 04:17:41 -0500

Seen: 2,541 times

Last updated: Oct 05 '14