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

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
1

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
0

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

Question Tools

2 followers

Stats

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

Seen: 652 times

Last updated: Apr 18 '20