ericperko / uvc_cam Goto Github PK
View Code? Open in Web Editor NEWFork of the ROS uvc_cam USB webcam driver
Fork of the ROS uvc_cam USB webcam driver
Hi Eric,
I was hoping to continue using your uvc_cam package under Groovy but I am getting the following error during rosmake. If you have time to push a fix, it would be great if the update would still work under Fuerte/Electric, though I'm not sure if that is possible.
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:76:2: error: ‘CvBridge’ in namespace ‘sensor_msgs’ does not name a type
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In member function ‘bool UVCCamNode::read()’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:191:86: error: ‘cvCreateImageHeader’ was not declared in this scope
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:207:15: error: ‘bridge_’ was not declared in this scope
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:218:33: error: ‘cvReleaseImageHeader’ was not declared in this scope
make[3]: *** [CMakeFiles/uvc_cam_node.dir/src/uvc_cam_node.cpp.o] Error 1
make[3]: Leaving directory `/home/patrick/ros_workspace/uvc_cam/build'
make[2]: *** [CMakeFiles/uvc_cam_node.dir/all] Error 2
make[2]: Leaving directory `/home/patrick/ros_workspace/uvc_cam/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/patrick/ros_workspace/uvc_cam/build'
make: *** [all] Error 2
There are two old, pending pull requests to this project...
Is this project dead?
Hello,
When running rosmake under the latest Debian packages for ROS Fuerte and Ubuntu 11.10 I get the error:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:376:8: error: ‘cinfo_’ was not declared in this scope
The full output is shown below:
patrick@pi-robot-z935:[uvc_cam]$ rosmake --pre-clean
[ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building ['uvc_cam']
[ rosmake ] Packages requested are: ['uvc_cam']
[ rosmake ] Logging to directory /home/patrick/.ros/rosmake/rosmake_output-20121103-050821
[ rosmake ] Expanded args ['uvc_cam'] to:
['uvc_cam']
[rosmake-0] Starting >>> roslang [ make clean ]
[rosmake-1] Starting >>> roscpp [ make clean ]
[rosmake-2] Starting >>> geometry_msgs [ make clean ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-3] Starting >>> sensor_msgs [ make clean ]
[rosmake-0] Starting >>> rosbuild [ make clean ]
[rosmake-1] Finished <<< roscpp No Makefile in package roscpp
[rosmake-1] Starting >>> roslib [ make clean ]
[rosmake-2] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-2] Starting >>> rosconsole [ make clean ]
[rosmake-0] Finished <<< rosbuild No Makefile in package rosbuild
[rosmake-3] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-0] Starting >>> pluginlib [ make clean ]
[rosmake-3] Starting >>> message_filters [ make clean ]
[rosmake-1] Finished <<< roslib No Makefile in package roslib
[rosmake-2] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-2] Starting >>> image_transport [ make clean ]
[rosmake-1] Starting >>> opencv2 [ make clean ]
[rosmake-3] Finished <<< message_filters No Makefile in package message_filters
[rosmake-3] Starting >>> cv_bridge [ make clean ]
[rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
[rosmake-2] Finished <<< image_transport ROS_NOBUILD in package image_transport
[rosmake-1] Finished <<< opencv2 ROS_NOBUILD in package opencv2
[rosmake-0] Starting >>> bullet [ make clean ]
[rosmake-2] Starting >>> angles [ make clean ]
[rosmake-1] Starting >>> rospy [ make clean ]
[rosmake-3] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
[rosmake-3] Starting >>> rostest [ make clean ]
[rosmake-0] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-0] Starting >>> roswtf [ make clean ]
[rosmake-1] Finished <<< rospy No Makefile in package rospy
[rosmake-1] Starting >>> tf [ make clean ]
[rosmake-3] Finished <<< rostest No Makefile in package rostest
[rosmake-2] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-0] Finished <<< roswtf No Makefile in package roswtf
[rosmake-3] Starting >>> common_rosdeps [ make clean ]
[rosmake-0] Starting >>> camera_calibration_parsers [ make clean ]
[rosmake-2] Starting >>> camera_info_manager [ make clean ]
[rosmake-1] Finished <<< tf ROS_NOBUILD in package tf
[rosmake-1] Starting >>> rosservice [ make clean ]
[rosmake-2] Finished <<< camera_info_manager ROS_NOBUILD in package camera_info_manager
[rosmake-3] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps
[rosmake-0] Finished <<< camera_calibration_parsers ROS_NOBUILD in package camera_calibration_parsers
[rosmake-2] Starting >>> dynamic_reconfigure [ make clean ]
[rosmake-0] Starting >>> diagnostic_msgs [ make clean ]
[rosmake-3] Starting >>> std_msgs [ make clean ]
[rosmake-3] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-3] Starting >>> diagnostic_updater [ make clean ]
[rosmake-2] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
[rosmake-2] Starting >>> self_test [ make clean ]
[rosmake-0] Finished <<< diagnostic_msgs No Makefile in package diagnostic_msgs
[rosmake-0] Starting >>> driver_base [ make clean ]
[rosmake-1] Finished <<< rosservice No Makefile in package rosservice
[rosmake-1] Starting >>> uvc_cam [ make clean ]
[rosmake-2] Finished <<< self_test ROS_NOBUILD in package self_test
[rosmake-3] Finished <<< diagnostic_updater ROS_NOBUILD in package diagnostic_updater
[rosmake-0] Finished <<< driver_base ROS_NOBUILD in package driver_base
[rosmake-1] Finished <<< uvc_cam [PASS] [ 0.41 seconds ]
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-0] Starting >>> roscpp [ make ]
[rosmake-1] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-1] Starting >>> sensor_msgs [ make ]
[rosmake-0] Finished <<< roscpp No Makefile in package roscpp
[rosmake-1] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-2] Starting >>> rosbuild [ make ]
[rosmake-3] Starting >>> roslib [ make ]
[rosmake-2] Finished <<< rosbuild No Makefile in package rosbuild
[rosmake-3] Finished <<< roslib No Makefile in package roslib
[rosmake-1] Starting >>> rosconsole [ make ]
[rosmake-0] Starting >>> message_filters [ make ]
[rosmake-3] Starting >>> opencv2 [ make ]
[rosmake-2] Starting >>> bullet [ make ]
[rosmake-0] Finished <<< message_filters No Makefile in package message_filters
[rosmake-0] Starting >>> angles [ make ]
[rosmake-0] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-1] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-1] Starting >>> pluginlib [ make ]
[rosmake-3] Finished <<< opencv2 ROS_NOBUILD in package opencv2
[rosmake-0] Starting >>> rospy [ make ]
[rosmake-2] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
[rosmake-2] Starting >>> rostest [ make ]
[rosmake-1] Starting >>> image_transport [ make ]
[rosmake-0] Finished <<< rospy No Makefile in package rospy
[rosmake-1] Finished <<< image_transport ROS_NOBUILD in package image_transport
[rosmake-3] Starting >>> cv_bridge [ make ]
[rosmake-2] Finished <<< rostest No Makefile in package rostest
[rosmake-2] Starting >>> roswtf [ make ]
[rosmake-1] Starting >>> common_rosdeps [ make ]
[rosmake-3] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
[rosmake-0] Starting >>> rosservice [ make ]
[rosmake-1] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps
[rosmake-1] Starting >>> camera_calibration_parsers [ make ]
[rosmake-0] Finished <<< rosservice No Makefile in package rosservice
[rosmake-0] Starting >>> dynamic_reconfigure [ make ]
[rosmake-2] Finished <<< roswtf No Makefile in package roswtf
[rosmake-3] Starting >>> diagnostic_msgs [ make ]
[rosmake-1] Finished <<< camera_calibration_parsers ROS_NOBUILD in package camera_calibration_parsers
[rosmake-0] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
[rosmake-3] Finished <<< diagnostic_msgs No Makefile in package diagnostic_msgs
[rosmake-2] Starting >>> tf [ make ]
[rosmake-2] Finished <<< tf ROS_NOBUILD in package tf
[rosmake-1] Starting >>> camera_info_manager [ make ]
[rosmake-1] Finished <<< camera_info_manager ROS_NOBUILD in package camera_info_manager
[rosmake-0] Starting >>> std_msgs [ make ]
[rosmake-0] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-1] Starting >>> diagnostic_updater [ make ]
[rosmake-1] Finished <<< diagnostic_updater ROS_NOBUILD in package diagnostic_updater
[rosmake-2] Starting >>> self_test [ make ]
[rosmake-2] Finished <<< self_test ROS_NOBUILD in package self_test
[rosmake-2] Starting >>> driver_base [ make ]
[rosmake-2] Finished <<< driver_base ROS_NOBUILD in package driver_base
[rosmake-2] Starting >>> uvc_cam [ make ]
[ rosmake ] Last 40 linesc_cam: 8.4 sec ] [ 1 Active 28/29 Complete ]
{-------------------------------------------------------------------------------
Scanning dependencies of target uvc_cam_node
make[3]: Leaving directory /home/patrick/ros_workspace/uvc_cam/build' make[3]: Entering directory
/home/patrick/ros_workspace/uvc_cam/build'
[100%] Building CXX object CMakeFiles/uvc_cam_node.dir/src/uvc_cam_node.o
In file included from /home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:52:0:
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:512:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
In file included from /home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:52:0:
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:522:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
In file included from /home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:52:0:
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:562:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:572:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:582:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:592:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:612:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:622:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:632:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/patrick/ros_workspace/uvc_cam/cfg/cpp/uvc_cam/UVCCamConfig.h:642:7: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
In file included from /home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:50:0:
/opt/ros/fuerte/stacks/vision_opencv/cv_bridge/include/cv_bridge/CvBridge.h: In static member function ‘static sensor_msgs::Image_std::allocator::Ptr sensor_msgs::CvBridge::cvToImgMsg(const IplImage_, std::string)’:
/opt/ros/fuerte/stacks/vision_opencv/cv_bridge/include/cv_bridge/CvBridge.h:408:55: warning: ‘static bool sensor_msgs::CvBridge::fromIpltoRosImage(const IplImage_, sensor_msgs::Image&, std::string)’ is deprecated (declared at /opt/ros/fuerte/stacks/vision_opencv/cv_bridge/include/cv_bridge/CvBridge.h:307) [-Wdeprecated-declarations]
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: At global scope:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:83:2: error: ‘CameraInfoManager’ does not name a type
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In constructor ‘UVCCamNode::UVCCamNode()’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:96:3: error: class ‘UVCCamNode’ does not have any field named ‘cinfo_’
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:97:17: warning: ‘sensor_msgs::CvBridge::CvBridge()’ is deprecated (declared at /opt/ros/fuerte/stacks/vision_opencv/cv_bridge/include/cv_bridge/CvBridge.h:64) [-Wdeprecated-declarations]
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In member function ‘bool UVCCamNode::openCamera(UVCCamNode::Config&)’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:157:10: error: ‘cinfo_’ was not declared in this scope
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In member function ‘bool UVCCamNode::read()’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:207:51: warning: ‘static sensor_msgs::Image_std::allocator::Ptr sensor_msgs::CvBridge::cvToImgMsg(const IplImage_, std::string)’ is deprecated (declared at /opt/ros/fuerte/stacks/vision_opencv/cv_bridge/include/cv_bridge/CvBridge.h:405) [-Wdeprecated-declarations]
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In member function ‘void UVCCamNode::publish()’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:232:15: error: ‘cinfo_’ was not declared in this scope
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp: In member function ‘void UVCCamNode::reconfig(UVCCamNode::Config&, uint32_t)’:
/home/patrick/ros_workspace/uvc_cam/src/uvc_cam_node.cpp:376:8: error: ‘cinfo_’ was not declared in this scope
make[3]: *_* [CMakeFiles/uvc_cam_node.dir/src/uvc_cam_node.o] Error 1
make[3]: Leaving directory /home/patrick/ros_workspace/uvc_cam/build' make[2]: *** [CMakeFiles/uvc_cam_node.dir/all] Error 2 make[2]: Leaving directory
/home/patrick/ros_workspace/uvc_cam/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/patrick/ros_workspace/uvc_cam/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package uvc_cam written to:
[ rosmake ] /home/patrick/.ros/rosmake/rosmake_output-20121103-050821/uvc_cam/build_output.log
[rosmake-2] Finished <<< uvc_cam [FAIL] [ 8.49 seconds ]
[ rosmake ] Halting due to failure in package uvc_cam.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Cleaned 29 packages.
[ rosmake ] Built 29 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/patrick/.ros/rosmake/rosmake_output-20121103-050821
Add a readme to clarify that this driver is not actively maintained and that I have no intentions of updating it much further. Comments to pull from are here: ros-drivers/camera_umd#16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.