0
$\begingroup$

Rosanswers logo

I used the code https://answers.ros.org/question/286221/create-2d-occupancy-grid-map-by-laser-data/ for map creation in gazebo turtlebot3, but i don't know how visualize the published map.


Originally posted by peyman1372 on ROS Answers with karma: 1 on 2022-04-13

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You can use this map as a OccupancyGrid.msg and use e.g. rosshow to visualize ROS topics in a terminal.

Other option is mentioned there:

https://answers.ros.org/question/229596/convert-image-to-occupancy-grid/

(the map_server package)


Originally posted by ljaniec with karma: 3064 on 2022-04-15

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.