Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 667

Accessing inflation layer from costmap_2d::Costmap2DROS

$
0
0
Hello When I access costmap_2d::Costmap2DROS.getCostmap().getCost(), which layer do I read from? When using the costmap arguement in the function makePlan() in the global planner of move_base, and reading with getCost(), the inflation values that are visible in Rviz are not represented in, costmap_2d::Costmap2DROS.getCostmap().getCost(). E.g. the cost around the obstacle is not gradually decreasing as you would expect. Any ideas how to solve it?

Viewing all articles
Browse latest Browse all 667

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>