camera1394 compile error on ubuntu 11.04 on ARM
Hello all,
I've spent a week unsuccessfully trying to get a Point Grey (PTGrey) Chameleon USB Camera (IEEE 1394 compatible, camera1394 node compatible) up and running on my Pandaboard (OMAP4430) single board computer as a ROS node. The camera tests out fine on that system using Coriander.
I have successfully installed ROS Diamondback from SVN using
rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"
The beginner tutorials work fine. The whole is running on Ubuntu 11.04. The LANG variable is set to
en_US.UTF-8
I then checked out
into a path in ROS_PACKAGE_PATH and changed to the resulting directory before executing
rosmake --rosdep-install
This resulted in the error:
* ERROR: Unsupported architecture armv7l *
whilst building this package in the camera_drivers stack:
prosilica_gige_sdk
Since I didn't need this package, but the camera1394 package, I decided to force-ignore the error with:
rosmake --rosdep-install -r
However, the camera1394 package fails too:
make[3]: Entering directory
/home/joris/ros/stacks/camera_drivers/camera1394/build' [ 15%] Building CXX object src/nodes/CMakeFiles/camera1394_node.dir/camera1394_node.o In file included from /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/driver1394.h:42:0, from /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/camera1394_node.cpp:38: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h: In static member function ‘static const std::string& driver_base::Driver::getStateName(driver_base::Driver::state_t)’: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h:238:14: warning: comparison is always true due to limited range of data type [ 23%] Building CXX object src/nodes/CMakeFiles/camera1394_node.dir/driver1394.o In file included from /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/driver1394.h:42:0, from /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/driver1394.cpp:42: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h: In static member function ‘static const std::string& driver_base::Driver::getStateName(driver_base::Driver::state_t)’: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h:238:14: warning: comparison is always true due to limited range of data type [ 30%] Building CXX object src/nodes/CMakeFiles/camera1394_node.dir/dev_camera1394.o /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/dev_camera1394.cpp: In funct from /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/driver 1394.cpp:42: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h: In static membe r function ‘static const std::string& driver_base::Driver::getStateName(driver_base::Driv er::state_t)’: /home/joris/ros/driver_common/driver_base/include/driver_base/driver.h:238:14: warning: comparison is always true due to limited range of data type [ 30%] Building CXX object src/nodes/CMakeFiles/camera1394_node.dir/dev_camera1394.o /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/dev_camera1394.cpp: In funct ion ‘std::string bayer_string(dc1394color_filter_t, unsigned int)’: /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/dev_camera1394.cpp:398:18: error: ‘BAYER_RGGB16’ is not a member of ‘sensor_msgs::image_encodings’ /home/joris/ros/stacks/camera_drivers/camera1394/src/nodes/dev_camera1394.cpp:400:18: error: ‘BAYER_GBRG16’ is not a member of ‘sensor_msgs ...