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

Problem compiling camera1394

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

Robin gravatar image

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

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 image Eric Perko  ( 2011-02-19 08:42:02 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

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

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

Question Tools

Stats

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

Seen: 1,006 times

Last updated: Feb 24 '11