ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2012-08-16 10:59:35 -0500 | received badge | ● Famous Question (source) |
2012-02-11 00:04:23 -0500 | received badge | ● Taxonomist |
2011-12-26 06:18:05 -0500 | received badge | ● Notable Question (source) |
2011-05-31 20:17:06 -0500 | received badge | ● Popular Question (source) |
2011-04-11 05:30:02 -0500 | commented answer | videre_stereo_cam segmentation fault At videre_stereo_1394.cpp , line 422 CHECK_ERR_CLEAN(dc1394_video_set_mode(dcCam, video), "Could not set video mode"); is not working for video = DC1394_VIDEO_MODE_640x480_YUV422. It does not report an error, but it sets the video_mode to DC1394_VIDEO_MODE_640x480_YUV411. |
2011-04-06 11:33:37 -0500 | commented answer | videre_stereo_cam segmentation fault The code is exactly as you say, but the dcframe received from firewire has different mode. I'll try to track video mode, in libdc1394 and see where is the dcframe created and why it has wrong video mode. As you can see from the outputs above, video mode is 66 -> YUV411 |
2011-04-01 06:14:15 -0500 | answered a question | videre_stereo_cam segmentation fault Problem solved!!! My Videre STOC camera sends image data as 2byte pixels in YUV422 format. For some reason, the camera reports that the frame it sends is in YUV411 format! YUV422 bit size is set to 16, instead of YUV411 which is set to 12 in dc1394/utils.c. This was causing incomplete frames. In libdc1394-2.1.2, at dc1394/control.c, line 672 I made the following change: -> Maybe there is a more elegant solution to this problem. The important thing for me is that I can finally get frames and point clouds! Thank you very much Anton for your time! |
2011-03-31 11:04:04 -0500 | commented answer | videre_stereo_cam segmentation fault Yes! SVS works fine, which means that the camera is not damaged. A student in my university had exactly the same problem some years ago. He asked for help from videre and they sent him this patch. Unfortunately, I could not contact him and learn more details. The frames I get are 640*360 |
2011-03-31 05:47:43 -0500 | answered a question | videre_stereo_cam segmentation fault The code still won't run. The good news are that I figured out what's wrong. For some reason, the frame being captured has smaller size than it should. The bottom part(almost 1/3) of the frames is not returned. When deinterlacing takes place, the function assumes that it has to deal with 640*480 images. At some point, unallocated memory is being parsed and segfault occurs. I found a file named "videre_fix.patch", which patches dc1394/control.c and dc1394/control.h and I was told that is supposed to fix that problem. Patched, configure, make, make install libdc1394-2.1.2 but still no luck. Are there any suggestions to this problem? Anton, thank you very much for your time! videre_fix.patch (more) |
2011-03-25 11:04:57 -0500 | answered a question | videre_stereo_cam segmentation fault Yes, it's exactly the same problem. Something goes wrong in deinterlacing. I'll look at it again in a couple of days and try to be more specific. Tell me if you need some extra information. Thank you for your time! |
2011-03-24 00:58:19 -0500 | answered a question | videre_stereo_cam segmentation fault Unfortunately the problem remains... This is the debug window, when i run the SVS program |
2011-03-23 13:00:09 -0500 | marked best answer | videre_stereo_cam segmentation fault Hi, I am the maintainer of the videre_stereo_cam package. Unfortunately I did not have time to make a switch to ROS Diamondback yet, so this package (as available from svn) was not updated to work with that version yet. Here is a link to the patch that should be applied to current videre_stereo_cam version: |
2011-03-23 12:44:41 -0500 | answered a question | videre_stereo_cam segmentation fault Thank you very much for the immediate answer! I'll try the updated files in a few hours! |
2011-03-23 11:31:39 -0500 | received badge | ● Organizer (source) |
2011-03-23 11:27:48 -0500 | received badge | ● Editor (source) |
2011-03-23 11:17:04 -0500 | asked a question | videre_stereo_cam segmentation fault Hi everyone, I'm trying to make "videre_stereo_cam" package to work with a VIDERE STOC camera 6cm baseline. The problem is that videre_stereo_node crashes reporting a segmentation fault. I believe that something goes wrong when frame deinterlacing takes place, but I'm not sure. Using SVS software for Linux, I can access the camera and get disparity image. Unfortunately, SVS is precompiled for 32bit architectures and Videre does not provide support for this product any more. My operating system is 64bit. System Information:
When I first tried to compile videre_stereo_cam, compilation failed. (more) |