libuvc_camera Can't Make instalation or Give Camera ID Values to prebuilt Instalation
Hi ROS Answers,
I wanted to see, could I get some help with using the libuvc_camera package? My end goal is to get a setup where I am publishing image data from two webcams (or a stereo topic using the two cameras).
I have been trying two methods of installing the libraries, both having issues. In the first I can't run make my custom installation and in the second I can't give the needed camera ID values for my installation I got with apt-get.
First, I did the typical create a workspace, clone the repository, and then ran catkin_make. However this caused a problem where configuration files could not be found, with the terminal output being:
CMake Error at libuvc_ros/libuvc_camera/CMakeLists.txt:9 (find_package):
By not providing "Findlibuvc.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "libuvc", but
CMake did not find one.
Could not find a package configuration file provided by "libuvc" with any
of the following names:
libuvcConfig.cmake
libuvc-config.cmake
Add the installation prefix of "libuvc" to CMAKE_PREFIX_PATH or set
"libuvc_DIR" to a directory containing one of the above files. If "libuvc"
provides a separate development package or SDK, be sure it has been
installed.
I then downloaded dependencies and made the files again, this just gave me a long list of errors ending with:
Invoking "make -j4 -l4" failed
So second, I removed the installation and installed the package directly with:
sudo apt-get install ros-indigo-libuvc-camera
This got the package successfully, but in trying the next step on the package main page
$ sudo -E rosrun libuvc_camera camera_node vendor:=...
I can not get a vendor or product id that the node will except. Here is the information from my camera's configuration file:
idVendor 0x045e Microsoft Corp.
idProduct 0x075d LifeCam Cinema
I tried giving the command the hex values, but it tells me the are invalid and that the values must only contain a-z,/,and _ . I tried giving it the text versions, but it then tells me it is using the default values of 0x0 and 0x0, which results in it trying to contact USB bus 002 Device 003, which is not my camera. I could not even find the files to try and hard-code the correct values in as a test.
So, my questions are:
- What do I need to do to get the second method I tried to work? How do I tell it what vendor and or product ID to look for?
- Is there something I missed in the first method that would be better to look at?
- I am using Ubuntu Trusty 14.04 with ROS Indigo with an AMD 64 bit processor. The main libuvc_camera page says that "devel ubuntu trusty amd64" is failing its build tests and that there hasn't been any new builds in a long time. Is this an issue?
Thanks a lot for your time, and please let me know if there's anymore information I ...