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

rviz camera view

asked 2011-08-26 06:46:12 -0600

Jake gravatar image

updated 2011-08-29 04:25:27 -0600

How do I set up a view in rviz to be the exact view from the camera's perspective? For Example: If you add the point cloud coming in from the kinect how do I set the view so I see the point cloud from the exact perspective of the kinect.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-08-29 00:35:05 -0600

mjcarroll gravatar image

updated 2011-08-29 05:05:33 -0600

To see rviz from a camera perspective:

  1. Have the RVIZ Displays Pane Open (View > Displays)
  2. Click "Add" to add a new display type
  3. "Camera" displays your camera image with RVIZ data overlayed, "Image" will just show the raw camera image.
  4. When then new display shows up in the list, fill in your "Image Topic" (e.g. /kinect/image_raw)

You should now have a working image window with RVIZ data overlaid.

You can also change the alpha blending so that just the rviz data is visible, and not the actual camera frame

edit flag offensive delete link more

Comments

this video tutorial might help as well: http://www.youtube.com/watch?v=g4rQQ7MDcRM
mmwise gravatar image mmwise  ( 2011-09-02 10:57:47 -0600 )edit

this youtube link is death!

KOMODO gravatar image KOMODO  ( 2020-07-03 11:42:16 -0600 )edit

Question Tools

Stats

Asked: 2011-08-26 06:46:12 -0600

Seen: 8,769 times

Last updated: Aug 29 '11