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

How to locate origin of world frame in Rviz ?

asked 2018-06-03 12:42:44 -0600

malharjajoo gravatar image

updated 2018-06-03 13:17:03 -0600

Hi,

I am currently trying to visualize the world pose of my robot by publishing a poseStamped message to Rviz. I can see the axes fine but I want to know where the origin of the world frame in Rviz is.

Below is an image of the issue, the world frame is on the corner to the right wall of where the person is sitting, clearly the view in which Rviz opens up is not the origin. Hence, How can I find Rviz's origin ?

Thanks !

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-06-03 13:09:30 -0600

gvdhoorn gravatar image

updated 2018-06-03 13:18:27 -0600

As far as RViz has a world frame, it's probably at 0, 0, 0. That would be in the centre of the grid you see rendered in your screenshot.

You can visualise it by adding an Axes display to your configuration.

But note:

  1. the name world has no special significance to RViz
  2. the 'root' of your transform tree will be whatever you make it. It will depend on the transform broadcasters that you have running. There is no 'always present' frame called world

If you're using TF (and I believe you are), it would probably be more informative to add a TF display to your configuration. That would immediately show you how things (ie: frames) are related.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-06-03 12:42:44 -0600

Seen: 1,930 times

Last updated: Jun 03 '18