Ask Your Question
0

How to match the map in Rviz with real world map?

asked 2016-05-05 05:57:05 -0500

RosUser gravatar image

updated 2016-05-06 03:07:26 -0500

Hi, I'm using Nav2d simulator and launching tutorial2 file. I have changed the original map to another simplified map and using real robot instead of Stage. The problem is that an object is located in left side in real world but in Rviz it shows in right side! I have been looking in configuration file tutorial2.rviz to find a parameter to change (flip over) but I'm not sure which parameter should I change if it already exist !? Or can I do that while Rviz is running ?

C:\fakepath\RvizMap.png

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-06 06:39:16 -0500

Sebastian Kasperski gravatar image

Can it be that your laser is mounted upside down? I that case you'll have to reflect that in the transformation from body to laser. (defined somewhere in your robot setup, not nav2d)

edit flag offensive delete link more

Comments

Yes it is mounted upside down to robot. It makes vary good since now. And I solved the problem. Thanks :D

RosUser gravatar imageRosUser ( 2016-05-06 08:08:37 -0500 )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

1 follower

Stats

Asked: 2016-05-05 05:57:05 -0500

Seen: 363 times

Last updated: May 06 '16