ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to get costmap_2d to build on top of cartographer's /map?

asked 2018-08-08 20:56:41 -0500

asabet gravatar image

I'd like to build a costmap on top of cartographer's map instead of say, gmaping, so I can run move_base on it for navigation. How do I go about doing this/

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-08-09 12:55:15 -0500

You can just do this natively. As long as it provides the map on the correct topics (if you're using defaults, it'll work out of the box). All navigation looks for is the /map topic out of the box so if cartographer provides this, then you're done!

edit flag offensive delete link more

answered 2020-04-18 01:18:46 -0500

artemiialessandrini gravatar image

Actually not, gmapping occupancy grip map has only 3 states: occupied, free and busy. Cartographer's states are about 100 based on certainty, so it needs to be transformed.

ref 1, ref 2

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



Asked: 2018-08-08 20:56:41 -0500

Seen: 620 times

Last updated: Apr 18 '20