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

How to visualize the data of "5-Megapixel camera" and "LED Texture Projector Triggered with Narrow-Angle Stereo Camera" in rviz?

asked 2012-11-22 18:16:26 -0500

updated 2016-02-22 07:41:53 -0500

lucasw gravatar image

I want to use rviz to confirm the functions of "5-Megapixel camera" and "LED Texture Projector Triggered with Narrow-Angle Stereo Camera" works well,

but I cannot find the correct topic to visualize the camera data, does anyone know how to view in rviz?

EDIT: I found a page that may be useful for this question. Now my understanding is, projector illuminates the objects. To visualize the data of "LED Texture Projector Triggered with Narrow-Angle Stereo Camera", I should start the projector first, then I can view narrow_stereo_textured data on rviz. Is this correct?

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-12-01 20:13:34 -0500

I found the answer based on this page.

1.To check whether "5-Megapixel camera" works well on PR2. Just use dashboad, select the "camera" and choose "Prosilica". To work with this camera, the tutorials is stated here.

2.And for "LED Texture Projector Triggered with Narrow-Angle Stereo Camera". To start projector, reference this page. Use this

rosrun dynamic_reconfigure reconfigure_gui
select /camera_synchronizer_node
turn the "projector mode" to "ProjectorOn"

Then you can see the projector shining.To use this projector, see this page.

edit flag offensive delete link more
0

answered 2012-11-22 19:39:49 -0500

Image topics can be visualized using the "Image" view in rviz as described here and here. If the Image display does not offer any topics when clicking on the button at the far right of the "topic" row it might be the case that your camera driver is not running or not publishing images properly. If this is the case, it might make sense to first check if a image topic exists, for instance using

rostopic list

and (provided a topic exists) checking if anything is published on it:

rostopic echo [your_image_topic]

[your_image_topic] must be set to the approriate topic, like "/camera/image_raw" or whatever else you are using.

edit flag offensive delete link more

Comments

Thanks for the clear explanation : ) My question actually is that I don't know what topic to choose so that I can view the data captured by these two camera.(I can visualize wide_stereo camera and narrow_stereo camera)

Po-Jen Lai gravatar image Po-Jen Lai  ( 2012-11-23 03:00:02 -0500 )edit

Question Tools

Stats

Asked: 2012-11-22 18:16:26 -0500

Seen: 442 times

Last updated: Feb 22 '16