How to load a map(.png) to ros and make an occupancy grid?
I have to upload this map on roscpp and make an occupancy grid. I can use opencv as well.
Asked by Parth2851 on 2019-11-06 04:29:32 UTC
Answers
Create a .yaml file using text edit in the format
image: map.png
resolution: 0.1
origin: [0.0, 0.0, 0.0]
occupied_thresh: 0.65
free_thresh: 0.196
negate: 0
Then, run roscore on a new terminal and then run
rosrun map_server map_server map.yaml
Asked by Parth2851 on 2019-11-06 09:02:06 UTC
Comments
You can use map_server.
Asked by Choco93 on 2019-11-06 06:32:33 UTC