[ros-users] viewing usb webcam stream with rviz
Benoit Larochelle
Benoit.Larochelle at dfki.de
Thu Apr 28 11:04:00 UTC 2011
Hi Matt,
You should post this question on answers.ros.org.
RVIZ forces you to give a frame ID to see the image, and this frame ID must “exist”. Often, when you see this error, it’s because you don’t have a TF between your reference frame and your camera frame. You can just publish a dummy TF if you don’t need anything complex.
To help you debug, you can use image_view like Suat suggested, because this one does not require a frame id.
Benoit
From: Suat Gedikli
Sent: Thursday, April 28, 2011 11:32 AM
To: User discussions
Subject: Re: [ros-users] viewing usb webcam stream with rviz
Hi,
try image_view. "rosrun image_view image_view image:=<topic>"
-Suat
On Thu, Apr 28, 2011 at 2:28 AM, Matt McLellan <mattmclel at gmail.com> wrote:
Hi,
Does anyone have any experience with viewing a image stream from a usb webcam?
I have the usb_cam node (part of the bosch_drivers package) running, but I can't seem to view the video in rviz. It gives me an error saying 'fixed frame does not exist'. I get the same error when I run the camera using the uvc_camera node as well.
With both nodes, I can see that the camera is turned on (the led next to the lens lights up), and I can display the raw image dump i a terminal, but what is the best way to actually view the video?
Thanks.
_______________________________________________
ros-users mailing list
ros-users at code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
--------------------------------------------------------------------------------
_______________________________________________
ros-users mailing list
ros-users at code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110428/c5fae233/attachment-0002.html>
More information about the ros-users
mailing list