ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rob-bot's profile - activity

2012-09-05 04:25:36 -0500 received badge  Famous Question (source)
2012-04-23 00:53:15 -0500 received badge  Famous Question (source)
2012-03-06 05:55:12 -0500 received badge  Taxonomist
2011-12-01 21:49:00 -0500 received badge  Notable Question (source)
2011-07-24 23:47:45 -0500 received badge  Notable Question (source)
2011-07-18 02:41:53 -0500 received badge  Popular Question (source)
2011-04-17 07:26:14 -0500 received badge  Popular Question (source)
2011-03-20 16:32:33 -0500 marked best answer camera1394 and bumblebee2

This is an Ubuntu problem, not a ROS problem, until you solve the bus access problem. No ROS driver is going to work if coriander cannot find the device.

The camera1394 driver does not support Bumblebee or any other interlaced stereo devices. Perhaps it will in some future release (see enhancement ticket #4782).

Note that all the launch files in the camera1394 package tests directory are marked "this is a test script: NOT FOR GENERAL USE". You can construct your own launch files based on those examples, but should not expect them to work unmodified.

2011-03-02 10:21:24 -0500 marked best answer problems installing libdc1394v2

Maybe there is a newer version of the bumblebee2 package, I don't know.

That dependency is now out of date. There does still exist a libdc1394v2 package in camera_drivers_experimental, but it is no longer maintained. You may be able to download and compile that package from SVN, but I do not recommend it.

The simplest solution is probably to replace the <depend package="libdc1394v2"/> in the package manifest with a <rosdep name="libdc1394-dev"/>. To resolve that dependency either install ros-cturtle-camera-drivers or else create a rosdep.yaml in that package with these stanzas:

libraw1394-dev:
  ubuntu: libraw1394-dev
  fedora: libraw1394-devel

libdc1394-dev:
  ubuntu: libdc1394-22-dev
  arch: libdc1394
  fedora: libdc1394-devel
  macports: libdc1394

Your problem with coriander is most likely a common Ubuntu device permissions problem. See: bus permissions troubleshooting.

If you need more details, post a follow-on comment.

[Edit: responses to follow-on questions posted as an "answer"]

If you updated the rosdep.yaml, you should no longer need the libdc1394v2 package.

The reference to <camera_info_manager/camera_info.h> is out of date (predating cturtle). The released version should include <camera_info_manager/camera_info_manager.h>, which is part of the camera_drivers stack in cturtle (moved to image_common in diamondback). I think you have that already.

The dependencies on camera_info_manager are package dependencies, they use the <depends> tag in the manifest.xml, not <rosdep>. The (obsolete) camera_info.h does not belong in the include file of the bumblebee2 package.

You are correct that the inability of Ubuntu to find your camera is a separate problem.

2011-03-01 18:27:54 -0500 received badge  Nice Question (source)
2011-02-27 08:13:04 -0500 asked a question camera1394 and bumblebee2

Hello everyone. I am new to ROS and am currently working on getting the Bumblebee2 node (By Soonhac Hong, source: http://cu-ros-pkg.googlecode.com/svn/... ) to work properly in Ubuntu 10.10 for my Pt grey Bumblebee2 stereo camera.

After resolving some preliminary issues, I continue to receive the same error message whenever I launch Bumblebee2.launch:

"

FATAL 1298844152.453260264: [camera] exception opening device: [Camera1394::open]: No cameras found

"

The node appears in rxgraph.

So I thought to myself "maybe the camera1394 node will work properly?" (I have no experience with this node, so that's just a wild guess) and a tried launching camera.launch from the test folder. I received the following messages:

"

ERROR 1298842394.512674033: [camera] device open failed: [Camera1394::open]: No cameras found ERROR 1298842394.512964522: Unable to open camera calibration file [/cameras/unibrain_calibration.yaml]

"

I also tried launching stereo_example.launch:

" error loading <rosparam> tag:

file does not exist [/cameras/unibrain.yaml]

XML is rosparam file="/cameras/unibrain.yaml"/ "

I have attempted to use the camera using coriander and kino... they both cannot find a camera connected to the bus. I have already troubleshooted common bus permissions issues as per http://www.ros.org/wiki/camera1394/Tr... . The camera works in a Windows environment.

Any ideas how I can get this thing working???

Thanks for the help!

2011-02-27 07:59:31 -0500 answered a question problems installing libdc1394v2

Okay, I got a little further with the issue- enough so that I can call this an answer to my original question.

The answer is actually pretty silly; I did not install libdc1394v2 correctly (I guess?). I just tried building it again and libdc1394v2 seemed to build properly. Then, when I tried to build the bumblebee2 package, I noticed that the failure was associated with a file called "camera_info.h" This is part of the camera_info_manager package, which was not anywhere on my computer. Something is up with the dependencies (rosdep.yaml right?) of THAT package (or I just don't know what I'm doing I suppose) because rosdep did not work when I attempted to install the camera_info_manager dependencies. So when attempting to build camera_info_manager using rosmake I received an error about a file in the "sensor_msgs" package... which I found out was not installed either. After properly installing sensor_msgs and camera_info_manager, then making a copy of camera_info.h and placing it in the include folder in the bumblebee2 package (this seemed to be the only way it could find it; I tried leaving it in camera_info_manager/include to no avail) and editing bumblebee.cpp so that it could find camera_info.h in its include folder, I received what seems to be a much more benign message regarding ROS's inability to find a camera. Considering this is a very different problem than my initial one, I will post it as a new question and call this one answered.

Condensed answer: Make sure sensor_msgs and camera_info_manager is installed, and make sure camera_info.h is findable when building the bumblebee2 package (you can edit where bumblebee.cpp is trying to find this file by editing bumblebee.cpp, line 55)

2011-02-27 06:19:30 -0500 received badge  Editor (source)
2011-02-27 06:02:35 -0500 commented answer problems installing libdc1394v2
Thank you so much for the help! Following your instruction, I edited the manifest and created the rosdep.yaml files in a text editor with your code. I am now getting a new error which I have described in an update to my original questions.
2011-02-27 05:54:39 -0500 received badge  Supporter (source)
2011-02-24 12:12:49 -0500 received badge  Student (source)
2011-02-24 11:33:39 -0500 asked a question problems installing libdc1394v2

Hello everyone. I am new to ROS and am currently working on getting the Bumblebee2 node (By Soonhac Hong, source: http://cu-ros-pkg.googlecode.com/svn/... ) to work properly in Ubuntu 10.10 for my Pt grey Bumblebee2 stereo camera . When I use rosmake to build the bumblebee2 package I am consistently getting an error:

" Failed to invoke /opt/ros/cturtle/ros/bin/rospack deps-manifests bumblebee2

[rospack] couldn't find dependency [libdc1394v2] of [bumblebee2]

[rospack] missing dependency "

This results in a successful build of 5 packages with one failure...

So I I tried installing libdc1394v2 as per instructions on the distributor's website... I am still having the same problem.

If it isn't already obvious, I am also quite new to Ubuntu and I'm not even certain if I am installing this package properly. I followed the instructions, any idea why I am still having problems launching this node? I apologize if I sound like a complete idiot here, I am very eager to learn more but I am at a loss as to what I need to do to educate myself. I feel like it may be my lack of Ubuntu knowledge and not a lack of ROS knowledge that is holding me back.

I have attempted to run the camera using coriander... I receive an error that states that it does not detect any camera connected to the bus. The camera works properly in a Windows environment.

Any help is appreciated! Thanks

UPDATE:

Following the instructions of user joq, I edited the manifest.xml file in the bumblebee2 package and created a rosdep.yaml files with gedit. I am now getting a new error:

" ros@ros-SG45:~$ rosdep install bumblebee2

Failed to find stack for package [libdc1394-dev]

Failed to load rosdep.yaml for package [libdc1394-dev]:Cannot locate installation of package libdc1394-dev: [rospack] couldn't find package [libdc1394-dev]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/home/ros/bumblebee2:/opt/ros/cturtle/stacks]

executing this script:

set -o errexit

No Packages to install "

I was under the impression that the ros-cturtle-camera-drivers were installed when I installed the ROS + base version in the first place. If this is incorrect, then how do I determine if these drivers are already installed / how do I install them? If ros-cturtle-camera-drivers were the name of a package I would know what to do, but it isn't (as far as my search has told me) so I'm not sure what software you are referring to specifically.

I have gone through all of the bus permission troubleshooting per joq's advice as well, to no avail. The camera still is not working with coriander, and I also tried it using Kino. No luck. However, I was presented with another issue when attempting to add a raw1394 specific udev rule, as described at ( https://help.ubuntu.com/community/Fir... ):

" ros@ros-SG45:~$ modprobe -r raw1394 && modprobe raw1394

FATAL: Error removing raw1394 (/lib/modules/2.6.35-25-generic-pae/kernel/drivers/ieee1394/raw1394.ko): Operation not permitted "

I'm just running ... (more)