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

rmrafferty's profile - activity

2017-05-31 14:30:31 -0500 received badge  Famous Question (source)
2017-05-31 14:30:31 -0500 received badge  Notable Question (source)
2017-03-26 15:19:24 -0500 received badge  Famous Question (source)
2016-11-24 12:36:32 -0500 received badge  Popular Question (source)
2016-11-17 16:39:30 -0500 commented answer libuvc_camera Can't Make instalation or Give Camera ID Values to prebuilt Instalation

Thanks a lot for your help @gvdhoorn! got setup using uvc_camera, but it is depreciated, so I would like to get libuvc_camera working at some point, I will follow your suggestions for correctly installing the package and using it when I shift back to it.

2016-11-17 16:33:56 -0500 received badge  Notable Question (source)
2016-11-17 16:33:34 -0500 asked a question Starting Guide for OpenCV with ROS in Indigo

Hello all,

Could I please get some help with setting up OpenCV with ROS for ROS Indigo on Ubuntu 14.04?

I've been searching and making attempts for awhile, but it seems that I'm too much of a novice at this aspect and or that there is extra difficulty to do this on Indigo that I can't get it running on my own.

My goal is to make a vision pipeline, have an image topic received, be editable by OpenCV, and then published back out. How can I best do this for my setup? This seems to be a basic goal to have from what research I have done.


My Attempts

I tried to follow this guide for Ubuntu 12.04 and ROS Fuerte. ( http://vaaiibhav.me/setting-up-ros-an... ) It has the exact functionality I'm looking for and looked very simple to do. However adapting this to Indigo it was no longer as simple as it seemed.

I've had the following issues:

  • Left out OpenCV dependency since it is not available in ROS Indigo and may be available just from cv_bridge from what other posts I've seen, such as Stefan Kohlbrecher's post at http://answers.ros.org/question/18510...

-This left me unable to build c++ files with dependencies on OpenCV functions

  • I tried installing OpenCV 3.0 to use instead. It worked and can be used normally.

-Even when editing my manifest.xml and CMakeLists.txt to try and locate OpenCV, the builds still failed due to being unable to find my c++ file indicated (This was my attempt at following the post by "mehdi" in this answers.ros.org post : http://answers.ros.org/question/18510... )


How can I get started with this OpenCV and ROS with this setup? There seem to be a lot of themes about issues and work-arounds that must be done, but I haven't been able to figure it out.

I'm required to use Ubuntu 14.04 and ROS Indigo due to another system I am integrating this vision pipeline with, but I can use any OpenCV version that is acceptable at this point.

Thanks a lot for the help, especially if this really is a novice question!

2016-11-06 14:01:31 -0500 received badge  Popular Question (source)
2016-10-05 20:39:59 -0500 asked a question 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:

  1. 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?
  2. Is there something I missed in the first method that would be better to look at?
  3. 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 ... (more)