Ask Your Question
0

Can edit map in Rviz?

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

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
1

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

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

Comments

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 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 259 times

Last updated: Dec 13 '18