ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
1

Bumblebee2 (640x480) under Diamondback

asked 2011-06-03 03:08:33 -0500

parlas gravatar image

updated 2011-06-03 03:13:05 -0500

I want to ask anyone who have managed to make Bumblebee2 (my version is BB2-03S3C a.k.a. bumblebee2 640x480) working under ROS Diamondback how to do it.

More specifically:

  1. What is your ubuntu version?
  2. What is your default configuration (ros-diamondback-desktop-full |or| ros-diamondback-desktop |or| ..)?
  3. What are the dependencies that you have installed (libdc1394v2, libraw etc..)?
  4. What is the package that you used ( cu-ros-pkg |or| cornell-ros-pkg |or| ..)?
  5. What are the changes that you have made in the original package (lowering default resolution etc)?

Thank you in advance, Parlas.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2011-06-06 04:34:52 -0500

Bram van de Klundert gravatar image

i have the bumblebee2 stereo camera working with the bumblebee2 node.

  1. ubuntu 10.04
  2. ros-diamondback-desktop-full
  3. just the dependencies for the bumblebee2 node
  4. bumblebee2(http://www.ros.org/browse/details.php?name=bumblebee2)
  5. the first change i made is shown in this answer(http://answers.ros.org/question/1096/segmentation-fault-of-bumblebee2?answer=1891#1891). beside that i had to edit the file: "dev_camera1394.cpp" to use format_7 mode_3. to do this search the file for: "dc1394_video_set_mode" and replace: "videoMode_" with "DC1394_VIDEO_MODE_FORMAT7_3"

after that i had quite a bit of trouble with the image tearing. this was caused by my firewire port being unable to handle the trafic. to fix this i had to reduce the package size by adding the following lines:

if (DC1394_SUCCESS != dc1394_format7_set_packet_size(camera_,DC1394_VIDEO_MODE_FORMAT7_3,size)) { ROS_WARN("Failed to set package size"); DMA_Success = false; }

the package size you need to set can be found by running the node than reduce the package size using coriander(can be found in the controls tab)

if you dont need to get both the images from the bumblebee2 camera you only have to make the changes in the other ros answer.

edit flag offensive delete link more

Comments

Thanks a lot for your kind response, I will try what you propose and I will report the outcome. If I manage to make it work, I will give a link to a working package (googlecode or sth) in order to help every other person who stumbles upon this. Thank you again, Parlas.
parlas gravatar imageparlas ( 2011-06-07 05:12:02 -0500 )edit
1

answered 2011-06-03 06:01:50 -0500

updated 2011-06-03 06:02:13 -0500

This might not be a direct answer to your question, but:

We have a separate Bumblebee2 server in-house that is unreleased, but works well. I've seen a couple of Bumblebee2 questions go by, and if there is enough interest, I might be able to convince the relevant maintainer to allow us to publish it under GPL.

edit flag offensive delete link more

Comments

It would be just great to have this as we are having hard times with bumblebee2..
parlas gravatar imageparlas ( 2011-06-03 08:54:54 -0500 )edit
We're going through the process of figuring out how to publish properly. I'll update when we've completed.
Asomerville gravatar imageAsomerville ( 2011-06-09 05:16:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-06-03 03:08:33 -0500

Seen: 847 times

Last updated: Jun 06 '11