[ros-users] STOC & videre_stereo_cam segmentation fault

Tully Foote tfoote at willowgarage.com
Thu Mar 24 01:01:10 UTC 2011


Please don't cross post questions here from answers.ros.org
http://answers.ros.org/question/512/videre_stereo_cam-segmentation-fault

Tully

On Wed, Mar 23, 2011 at 3:17 PM, Mike Skolarikis <mikeskolari at gmail.com>wrote:

> 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:
>
>     1. videre_stereo_cam svn revision 1290
>
>     2. ROS Diamondback
>
>     3. Linux 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 20:52:10 UTC
>        2011 x86_64 GNU/Linux (Lucid 10.04)
>
>     4. libdc1394-22 libdc1394-22-dev libdc1394-utils libraw1394-dev
>        libraw1394-11
>
>
> When I first tried to compile videre_stereo_cam, compilation failed.
>
> Output at -> compilation1.log
>
> Then, I made some changes:
>
>     1. changed at stereoImage.cpp, line 258: cam_info.D.c_array() ->
>        cam_info.D.data()
>
>     2. changed at stereoImage.cpp, line 518: left_info.D.c_array() ->
>        left_info.D.data()
>
>     3. changed at stereoImage.cpp, line 532: right_info.D.c_array() ->
>        right_info.D.data()
>
>     4. added at stereoImage.cpp, line 225: cam_info.D =
>        std::vector<double>(5);
>
>
> and compilation finished successfully.
>
> Output at -> compilation2.log
>
> I made some changes in videre.launch file, like setting videre_mode to
> "diparity" and respawn to "false". I also added some "cout" in the code.
>
> Output at -> error.log
>
> Running the node with kdbg, found that the segmentation fault, occurs in
> stereoDeinterlace2 method, in the last for loop.
>
> I hope someone could help!
>
> Michael Skolarikis
> PANDORA Robotics Team
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110323/07ee7af9/attachment-0003.html>


More information about the ros-users mailing list