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

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

asked 2016-05-05 05:57:05 -0600

RosUser gravatar image

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

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 ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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


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

RosUser gravatar image RosUser  ( 2016-05-06 08:08:37 -0600 )edit

Question Tools

1 follower


Asked: 2016-05-05 05:57:05 -0600

Seen: 665 times

Last updated: May 06 '16