Ask Your Question
0

Problem compiling camera1394

asked Feb 19 '11

Robin gravatar image Robin
77 1 9

updated Feb 24 '11

tfoote gravatar image tfoote flag of United States
11130 27 85 172
http://www.ros.org/

Hi,

I'm trying to install the camera1394 package and I keep getting an error after running 'rosmake camer1394.' I've pasted it here:

  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp: In member function ‘void Format7::setOperationalParameters(sensor_msgs::CameraInfo&)’:
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:440: error: ‘struct sensor_msgs::CameraInfo_<std::allocator<void> >’ has no member named ‘binning_x’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:441: error: ‘struct sensor_msgs::CameraInfo_<std::allocator<void> >’ has no member named ‘binning_y’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:445: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:459: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:469: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp: In member function ‘void Format7::setOperationalParameters(sensor_msgs::CameraInfo&)’:
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:440: error: ‘struct sensor_msgs::CameraInfo_<std::allocator<void> >’ has no member named ‘binning_x’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:441: error: ‘struct sensor_msgs::CameraInfo_<std::allocator<void> >’ has no member named ‘binning_y’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:445: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:459: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’
  /home/rheld/ros/stacks/camera1394/src/nodes/format7.cpp:469: error: ‘struct sensor_msgs::RegionOfInterest_<std::allocator<void> >’ has no member named ‘do_rectify’

I just ran 'svn up' in the camera1394 directory to make sure I'm using the latest version. I still get the error above. Any tips?

delete close flag offensive retag edit

Comments

Are you using Diamondback or Cturtle? Eric Perko (Feb 19 '11)edit

1 Answer

Sort by » oldest newest most voted
2

answered Feb 19 '11

joq gravatar image joq
7304 29 68 133
http://www.austinrobot.co...

Looks like you are trying to compile the Diamondback (SVN trunk) version of camera1394 against Cturtle. As you see, that does not work.

If you need the new features, run the diamondback version. An Ubuntu binary package is available: ros-diamondback-camera-drivers.

link delete flag offensive edit

Comments

Thanks for the help! I'm new to ROS, so I'm a little unclear on the next step. Do I just sudo apt-get install that binary package? And then what? Should I still use camera1394, or does that package contain different drivers I should use? And do I need to install diamondback now? Robin (Feb 21 '11)edit
Yes, install that binary package, camera1394 is there. If you do not already have the basic diamondback distribution, you will first need to install it, see http://www.ros.org/wiki/diamondback/Installation/Ubuntujoq (Feb 21 '11)edit
Awesome. It works perfectly now. Thanks! Robin (Feb 21 '11)edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 19 '11

Seen: 190 times

Last updated: Feb 24 '11