Robotics StackExchange | Archived questions

costmap_2D vs SLAM

I am trying to using move_base and a costmap to navigate a vehicle autonomously to a goal in an unknown map.

When looking at the costmap_2D wiki, I noticed that you can provide the node with sensor data and tfs, and it will build and update a costmap. We have successfully gotten this to work in simulation.

However, what is the difference between using this package to generate a costmap, and running SLAM algorithm like gmapping or cartographer? Thanks!

Asked by hv2021 on 2021-12-05 17:38:42 UTC

Comments

Answers