ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Can edit map in Rviz?

asked 2018-12-13 19:36:29 -0500

yueweiliang gravatar image

Hi all, I want to edit a saved map in rviz, for example: add a line or erase some noise points. Can anyone have some idea?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-12-13 22:21:00 -0500

ahendrix gravatar image

You cannot use rviz to edit saved maps, but you can edit the pgm files in Gimp, Pinta or another image editor.

edit flag offensive delete link more


Thx for reply. Should this function(map editor) can be implemented by building a new plugins of rviz?I now try to make it in rviz.Can you give me some advice?

yueweiliang gravatar image yueweiliang  ( 2018-12-13 23:58:12 -0500 )edit

You might be able to do it, but you will probably have a hard time.

ahendrix gravatar image ahendrix  ( 2018-12-14 00:21:28 -0500 )edit

The interactive elements of Rviz are not good for image editing, so you will probably have to work hard to make a good user interface.

ahendrix gravatar image ahendrix  ( 2018-12-14 00:21:58 -0500 )edit

The ROS nodes which can publish the map (gmapping, map_server and others) are not designed to receive updates, so you will need to come up with a different way to publish and save the updated map.

ahendrix gravatar image ahendrix  ( 2018-12-14 00:22:35 -0500 )edit

ok, thx, I just want to edit the saved map to add something like glass walls、some tables that lasers can't detect and other things like these.So the function for me, it's just a image editor in Rviz.I'll try, thx for your time and advice.

yueweiliang gravatar image yueweiliang  ( 2018-12-14 01:37:05 -0500 )edit

Question Tools


Asked: 2018-12-13 19:36:29 -0500

Seen: 781 times

Last updated: Dec 13 '18