[ros-users] Problems with viewing a USB camera feed in RVIZ

Josh Faust jfaust at willowgarage.com
Tue Jul 6 18:21:22 UTC 2010


Hi Benoit,

Please file a ticket:
https://code.ros.org/trac/ros-pkg/newticket?component=visualization&type=defect&&visualization

Thanks

Josh

On Tue, Jul 6, 2010 at 2:27 AM, Benoit Larochelle <Benoit.Larochelle at dfki.de
> wrote:

>  Hi,
>
> Unfortunately, RVIZ eats up memory even in cturtle. I tried 3 different
> usb_cam drivers, including the one from Bill Morris, and it does not change
> anything for RVIZ.
>
> Benoit
>
>  *From:* Benoit Larochelle <Benoit.Larochelle at dfki.de>
> *Sent:* Monday, July 05, 2010 10:09 AM
> *To:* ros-users at code.ros.org
> *Subject:* Re: [ros-users] Problems with viewing a USB camera feed in RVIZ
>
> Hi Josh,
>
> It seems highly probable that RVIZ was killed due to memory usage. I ran a
> long test this morning, after having rebooted my computer and the robot, and
> RVIZ did not crash but it's memory usage was every increasing. It started at
> 25 MB and after 15 minutes was at 100 MB. It seems like the more movement
> there is in the image, the faster the memory increases.
>
> I'm going to upgrade to c-turtle and see what happens.
>
> Benoit
>
>  *From:* Josh Faust <jfaust at willowgarage.com>
> *Sent:* Friday, July 02, 2010 7:54 PM
> *To:* ros-users at code.ros.org
> *Subject:* Re: [ros-users] Problems with viewing a USB camera feed in RVIZ
>
> rviz's Camera display is meant for a camera running on a robot that's set
> up properly (with TF, calibrated cameras, etc.).  It lets you see the 3D
> data with the camera image overlaid.  If you just want to view an image,
> image_view is the correct option.
>
> As for #3, does rviz's memory usage start going up during that time?  If it
> was killed, either it (or something else) was consuming a lot of memory, or
> someone else killed it.
>
> Josh
>
> On Fri, Jul 2, 2010 at 4:27 AM, Benoit Larochelle <
> Benoit.Larochelle at dfki.de> wrote:
>
>>  Hello,
>>
>> I'm trying to set-up RVIZ so that I can view the feed from my USB camera.
>> I am using the usb_cam package to produce the feed, but RVIZ seems to have a
>> few problems reading it. I set-up the Fixed Frame to /head_camera, and
>> Image Topic to /usb_cam/image_raw.
>>
>> 1) I get a global warning: No tf data. Actual error: Fixed Frame
>> [/head_camera does not exist]. I don't know exactly what transforms and
>> frames are, I just want to see my camera image (in RVIZ).
>>
>> 2) In the Camera section, I get a Status Error, under CameraInfo:
>> CameraInfo/P resulted in an invalid position calculation (nans or infs)
>>
>> 3) After 15 minutes or so, RVIZ crashes with the error message:
>> /opt/ros/boxturtle/ros/bin/rosrun: line 35: 304 Killed $exepath "$@" (before
>> lunch, I started RVIZ and image_view and when I came back RVIZ had crashed
>> and image_view was still going)
>>
>> 4) The image is much darker than with the package image_view
>>
>> Benoit
>>
>> _______________________________________________
>> 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
>
> ------------------------------
>
> _______________________________________________
> 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/20100706/23e26a2b/attachment-0003.html>


More information about the ros-users mailing list