ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Nav2 simple commander's getGlobalCostmap()

asked 2022-08-15 00:18:05 -0600

MrOCW gravatar image

updated 2022-08-15 00:19:21 -0600

Hi, I would like to obtain the costmap's cost with respect to the map frame in nav2_simple_commander. The getGlobalCostmap() returns the Costmap. Are there any methods to get the cost of a waypoint/goalpose similar to worldToMap() in the C++ method

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-08-16 03:49:48 -0600

It should be trivial to do that conversion in the same way as in C++, though there’s no Costmap API in python currently part of the simple commander package. Its been discussed adding it to be relatively analog to the basics in C++ but hasn’t been contributed yet (though I believe an implementation or two are floating around)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-08-15 00:18:05 -0600

Seen: 584 times

Last updated: Aug 16