Ask Your Question
0

Problem compiling camera1394

asked 2011-02-19 07:43:06 -0500

Robin gravatar image

updated 2011-02-24 17:18:38 -0500

tfoote gravatar image

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?

edit retag flag offensive close merge delete

Comments

Are you using Diamondback or Cturtle?
Eric Perko gravatar imageEric Perko ( 2011-02-19 08:42:02 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2011-02-19 15:36:44 -0500

joq gravatar image

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.

edit flag offensive delete link more

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 gravatar imageRobin ( 2011-02-21 04:50:01 -0500 )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/Ubuntu
joq gravatar imagejoq ( 2011-02-21 05:04:01 -0500 )edit
Awesome. It works perfectly now. Thanks!
Robin gravatar imageRobin ( 2011-02-21 05:44:06 -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

Stats

Asked: 2011-02-19 07:43:06 -0500

Seen: 488 times

Last updated: Feb 24 '11