how to divide a map into many little cells in ros 2?
I'm a beginner. I'm using ros 2 - foxy and turtlebot3 burger. I follow the turtlebot3 manual and I get a map (map.yaml and map.pgm) after run slam simualation. I want to implement a complete coverage path planner. So first, i have to divide my map into many little cells (grid map) and visualize this grid map in rviz2. I have read gridmap package document https://github.com/ANYbotics/grid_map. From the gridmap package document, I found the "gridmaploader" package, but I don't know how to use that package to load my map.
Asked by RikaVinh on 2022-04-24 15:28:06 UTC
Answers
This ANYbotics package seems to be useful, but it is a lot for a beginner. Maybe others can help there more.
I suggest you to take a look there to check how the coverage path planner is implemented directly:
gif + a screenshot
You can base some of your classes on this for sure, with modifying it to use the ROS OccupancyGrid.msg
etc.
Asked by ljaniec on 2022-04-25 07:29:19 UTC
Comments