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

rviz 'measure' tool

asked 2014-12-07 20:41:03 -0500

charkoteow gravatar image

updated 2014-12-07 20:43:40 -0500

On rviz, there's a measure tool at the menu on top. How do I use it? It doesn't seem to be displaying any sort of 'measurement' like distance or coordinates.

Edit: On ROS Hydro.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2014-12-08 11:18:31 -0500

Rabe gravatar image

updated 2014-12-08 11:25:15 -0500

When you activate it, you can click one time to set the starting point. From then on a white line will follow your cursor, until you click for the end point. The measured distance will me shown at the bottom of the Rviz window.

Edit: I guess I forgot to mention the trick: You can't measure between to random points in the empty space. You have to have some kind of object (TF, Pointcloud, robot, marker...) present, and the can only click on those elements.

edit flag offensive delete link more

Comments

im guessing that grid maps are random points in empty space?

charkoteow gravatar image charkoteow  ( 2014-12-10 06:07:29 -0500 )edit

I'm not too sure, I expected everything that's not the background grid to work. What might help you though is the "Publish Point" function of Rviz, it publishes points to the clicked_point topic. I haven't used it exentsively, but maybe you can check it out.

Rabe gravatar image Rabe  ( 2014-12-16 00:55:16 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2014-12-07 20:41:03 -0500

Seen: 8,547 times

Last updated: Dec 08 '14