Ask Your Question
0

Draw an OccupancyGrid?

asked 2018-08-22 12:08:50 -0500

seanarm gravatar image

Are there any ROS tools, or recommended third-party tools, for drawing a 2D grid that's output as a nav_msgs/OccupancyGrid? I could find an online grid editor that outputs to coordinates, then convert them, but I'm hoping there's an already-made tool.

edit retag flag offensive close merge delete

Comments

I haven't used it myself, but if you have access to matlab, it would appear it has some infrastructure that could be helpful with this. See here.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-22 13:57:25 -0500 )edit

There is a grid_map library. I'm using it to edit existing grid maps or creating new from scratch.

luk.mitka gravatar imageluk.mitka ( 2018-08-23 09:33:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-23 16:06:29 -0500

fergs gravatar image

The map_server loads an image + YAML file to publish a nav_msgs/OccupancyGrid. You can edit the image file in any image editor (e.g. GIMP, Photoshop, etc). The wiki page for map_server has details of how to setup the YAML file that tells map_server how to interpret the image.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2018-08-22 12:08:50 -0500

Seen: 172 times

Last updated: Aug 23 '18