How to use costmap_2d to build grid map?
I'm a beginner. I'm trying to use costmap_2d package to build a grid map. Before this I used slam_gmapping to finish the job, by writing this node to launch file, but in didn't work for costmap_2d. I noticed that there are three nodes in costmap_2d package, so which one should I choose? How should I do to use it to build a map?