Ask Your Question
3

How to synchronize the map in Rviz and Stage

asked 2014-06-18 22:13:14 -0500

Cole gravatar image

Hi to All,

I am new to ROS. I am doing the navigation simulation based on the package of "navigation_stage". I replace the default map with mine and generate the .world file. But when I run the simulation, the maps in Rviz and that in Stage are not synchronous (they are not in the same coordinate). I notice the size, orientation can be adjusted in the .world file. But I do not know how to set the values for them.

Is any one know about this? Thanks in advance.

Fangwen

edit retag flag offensive close merge delete

Comments

Hi,

I am having the same problem. Have you solved this yet?

Itay.H gravatar image Itay.H  ( 2015-09-01 02:12:58 -0500 )edit

i also need help in doing the same thing plz can someone help us all

naqi.nick gravatar image naqi.nick  ( 2016-01-17 11:31:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-03-13 10:36:02 -0500

gavran gravatar image

updated 2016-03-13 10:36:26 -0500

I recently ran in the same problem and summarized all I found out in this post There are two main points:
1. align coordinate system, taking into account that .yaml origin gives coordinates of lower left point in the image, while .worlds's pose gives coordinates of the centre of the map.
2. add a black border around the image, because otherwise it would be trimmed by Stage

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

1 follower

Stats

Asked: 2014-06-18 22:13:14 -0500

Seen: 1,240 times

Last updated: Mar 13 '16