Re: [ros-users] Running error in camera1394

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Cedric Pradalier
Date:  
To: ros-users
Subject: Re: [ros-users] Running error in camera1394
For the record,

The same problem also occurs if libdc1394 has been compiled without
support for libraw1394, and the message is the same. This can occurs if
rosmake is called without --rosdep-install and/or if libraw1394-dev is
not installed on your system.

In fact, compiling libdc1394 without firewire support is useful to use
some of pointgrey cameras that run firewire over usb.

Best regards

wrote:
> Hi Kurt,
>
> Changing the access permission finally settled down the problem. Thank
> you a lot.
>
> Soonhac
>
> Quoting Kurt Konolige <>:
>
>
>> Make sure you have access permissions to /dev/raw1394. --kk
>>
>> wrote:
>>
>>> Hi All,
>>>
>>> Even though the previous problem is cleared, I'm stuck in another
>>> problem. When I run ./bin/camera1394, it seems to fail to initialize
>>> libdc1394 as following error messages.
>>>
>>> joseph@tonga:~/rospkgs/cameras/camera1394$ ./bin/camera1394
>>> [ INFO] 1273165810.784058000: Reconfigure request: brightness -1,
>>> encoding , exposure -1, gain -1, shutter -1, whitebalance auto
>>> [ INFO] 1273165810.784198000: reconfigure level = 4294967295
>>> [ INFO] 1273165810.792141000: [camera] video mode: 800x600_mono, frame
>>> ID: /camera
>>> [ WARN] 1273165810.793209000: no camera calibration source
>>> libdc1394 error: Failed to initialize libdc1394
>>> [FATAL] 1273165810.862582000: [camera] exception opening device:
>>> [Camera1394::open]: Could not initialize dc1394_context.
>>> Make sure /dev/raw1394 exists, you have ac
>>>
>>> I confirmed /dev/raw1394 existed and libdc1394-2.1.2 and
>>> libraw1394-2.0.5 were installed safely. I'm using ros 1.0.3 on Ubuntu
>>> 8.04 and bumblebee2(point gray). I appreciate any comments.
>>>
>>> Best,
>>> Soonhac
>>>
>>> Quoting :
>>>
>>>
>>>> Hi Tully,
>>>>
>>>> The problem was cleared by rerun rosdep install.
>>>>
>>>> Thanks,
>>>> Soonhac
>>>>
>>>> Quoting Tully Foote <>:
>>>>
>>>>
>>>>> Soonhac,
>>>>>
>>>>> It sounds like the boost install failed. If you clear out
>>>>> /opt/ros/lib and
>>>>> /opt/ros/include and rerun rosdep install the library should be restored.
>>>>>
>>>>> Tully
>>>>>
>>>>> On May 3, 2010 9:44 AM, <> wrote:
>>>>>
>>>>> Hi Jack,
>>>>>
>>>>> When I ran "rosdep install camera1394", the messages are as followings.
>>>>>
>>>>> joseph@tonga:~/rospkgs/cameras/camera1394$ rosdep install camera1394
>>>>> executing this script:
>>>>> set -o errexit
>>>>> #No Packages to install
>>>>> if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
>>>>> mkdir -p ~/ros/ros-deps
>>>>> cd ~/ros/ros-deps
>>>>> wget --tries=10
>>>>> http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
>>>>> tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
>>>>> cd apache-log4cxx-0.10.0
>>>>> ./configure --prefix=/opt/ros
>>>>> make
>>>>> sudo make install
>>>>> fi
>>>>>
>>>>>
>>>>> if [ ! -f /opt/ros/lib/libboost_date_time-gcc42-mt*-1_37.a ] ; then
>>>>> mkdir -p ~/ros/ros-deps
>>>>> cd ~/ros/ros-deps
>>>>> wget --tries=10 http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz
>>>>> tar xzf boost_1_37_0.tar.gz
>>>>> cd boost_1_37_0
>>>>> ./configure --prefix=/opt/ros
>>>>> make
>>>>> sudo make install
>>>>> fi
>>>>>
>>>>> I think the problem is that there wasn't
>>>>> libboost_iostreams-gcc42-mt-1_37.so.1.37.0 in /opt/ros/lib. Should I
>>>>> reinstall ROS?
>>>>>
>>>>> Best,
>>>>> Soonhac
>>>>>
>>>>>
>>>>>
>>>>> Quoting Jack O'Quin <>:
>>>>>
>>>>>
>>>>>> On Thu, Apr 29, 2010 at 9:29 PM, Soonhac Hong <soon...
>>>>>>
>>>> _______________________________________________
>>>> ros-users mailing list
>>>>
>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> ros-users mailing list
>>>
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>>
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>



--
Dr. Cedric Pradalier
http://www.asl.ethz.ch/people/cedricp