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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: Benoit Larochelle
Dato:  
Til: ros-users
Gamle-emner: Re: [ros-users] communicating with windows
Nye-emner: [ros-users] how many points in 3D cloud?
Emne: [ros-users] Problems with viewing a USB camera feed in RVIZ
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