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

displaying camera on rviz.

asked 2011-12-11 20:49:45 -0500

Maurizio88 gravatar image

updated 2014-01-28 17:10:59 -0500

ngrennan gravatar image

hi all, i'm trying to display a camera on rviz, the source is a camera on Gazebo. rviz shows me that:

CameraInfo -> No CameraInfo received on [/finger_tip_cam/camera_info]. Topic may not exist.

image -> No image received.

Transform [sender/=Gazebo] -> No CameraInfo received on [/finger_tip_cam/camera_info]. Topic may not exist.

What could the problem be?

edit retag flag offensive close merge delete

Comments

are you sure data is being published on those topics? how did you add the camera in gazebo? please provide something for us to work with
Bram van de Klundert gravatar image Bram van de Klundert  ( 2011-12-11 22:26:58 -0500 )edit
Try running "rostopic list", and adding an (edited) list of the relevant topics to your question.
joq gravatar image joq  ( 2011-12-12 03:48:09 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
10

answered 2012-09-09 12:30:47 -0500

Mani gravatar image

Instead of adding a camera in rviz, try adding an image. If the publisher of this topic only updates the image and not all the information required for a ROS camera interface, rviz can not display the image.

edit flag offensive delete link more

Comments

What other information is required for a ROS camera interface?

2ROS0 gravatar image 2ROS0  ( 2016-11-02 10:25:47 -0500 )edit
2

the camera_info topic

Mani gravatar image Mani  ( 2016-11-02 11:46:18 -0500 )edit
0

answered 2014-01-10 11:19:29 -0500

lucasw gravatar image

Make sure the camera <framename> is correct in the <plugin name="camera_controller" filename="libgazebo_ros_camera.so"> section of the urdf. I had mine set to camera_link and was getting the same error because camera_link wasn't a real link (and I had cut and paste it from a gazebo camera example). The camera view shown isn't the same as the raw image rqt_image_view or the rviz image display (as Mani suggests above and probably what you wanted anyhow), it tries to overlay elements of rviz onto the view.

edit flag offensive delete link more

Comments

I'm having that problem. What name did you use for the <framename> to solve it?

torkx gravatar image torkx  ( 2016-04-14 20:48:12 -0500 )edit

Question Tools

Stats

Asked: 2011-12-11 20:49:45 -0500

Seen: 7,548 times

Last updated: Jan 10 '14