There is an image_view in the rviz package that might be faster. (no guarantee) On Thu, 2010-05-13 at 10:43 +0100, Shadow wrote: > Eric : > Thanks, image+view is a great solution to show what I wanted. > Unfortunately, it is the same problem than before, around 50% of my > processor being used. > > Gary : > I've tried both 320*240 and 640*480 pictures, and the difference of > computing between those two resolution is not significant. I don't know > how to define more clearly what is eating too much : > 3748 hand 20 0 84984 22m 15m S 52 1.1 0:04.23 > cameradc1394 > What I did to test that was to launch the driver and to display the > picture at the same time with roslaunch. > > Le mercredi 12 mai 2010 à 07:30 -0400, Eric Perko a écrit : > > Have you tried using image_view (http://www.ros.org/wiki/image_view) > > on your raw image topic? > > > > For example, it should be something like 'rosrun image_view image_view > > image:=/camera/image_raw'. You can determine the actual image topic > > using 'rostopic list'. > > > > If you still want to display with OpenCV, you can take a look at the > > CvBridge package (http://www.ros.org/wiki/cv_bridge) to convert > > between ROS images and OpenCV images. > > > > - Eric > > > > On Wed, May 12, 2010 at 6:04 AM, Shadow wrote: > > > Hi, > > > I am trying the camera1394 driver right now to see if the same problem > > > occurs, but I can not manage to display the frame with that driver using > > > opencv, like it was easy to do with cameradc. > > > > > > I am using the latest Ubuntu with kernel 2.6.32-22, and here is my > > > firewire card : > > > 00:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire > > > II(M)] IEEE 1394 OHCI Controller (rev c0) > > > 00:09.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1 > > > 3-port PHY-Link Ctrlr (rev 01) > > > > > > If there is any integrated solution to display the stream, let me know, > > > since the problem only occurs when it is displayed. > > > > > > Thanks. > > > > > > Le mardi 11 mai 2010 à 11:59 -0500, Jack O'Quin a écrit : > > >> On Tue, May 11, 2010 at 11:31 AM, Eric Perko wrote: > > >> > Sacha, > > >> > > > >> > Have you seen the same behavior with the newer camera1394 > > >> > (http://www.ros.org/wiki/camera1394) driver or is this just the > > >> > cameradc1394 driver? > > >> > > >> If the problem appears with both drivers (likely IMHO), you are > > >> probably not getting DMA access due to some difficulty in your > > >> low-level library or kernel drivers. > > >> > > >> What distribution, kernel and firewire card are you running? > > > > > > > > > _______________________________________________ > > > ros-users mailing list > > > ros-users@code.ros.org > > > https://code.ros.org/mailman/listinfo/ros-users > > > > > _______________________________________________ > > ros-users mailing list > > ros-users@code.ros.org > > https://code.ros.org/mailman/listinfo/ros-users > > > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users