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

Is cmvision a working package? [closed]

asked 2013-02-27 05:21:11 -0500

SL Remy gravatar image

Hello all, I've noticed that cmvision is a package listed on the ROS wiki, but there seems to be no "current" instructions on how to install the code.

I did come across an older clone of the wiki which lists the package, but that code didn't build:

  In file included from /.../ros-stacks/cmvision/src/color_gui.cpp:34:0:
  /.../ros-stacks/cmvision/src/cmvision_color_blob_finder.h:31:32: fatal error: cv_bridge/CvBridge.h: No such file or directory
  compilation terminated.
  In file included from /.../ros-stacks/cmvision/src/main.cpp:24:0:
  /home/ubuntu/ros-stacks/cmvision/src/cmvision_color_blob_finder.h:31:32: fatal error: cv_bridge/CvBridge.h: No such file or directory
  compilation terminated.
  In file included from /.../ros-stacks/cmvision/src/color_gui.cpp:34:0:
  /.../ros-stacks/cmvision/src/color_gui.h:34:32: fatal error: cv_bridge/CvBridge.h: No such file or directory
  compilation terminated.

It looks like opencv has changed a smidge since this package was written so it would need to be updated... Is there an updated repo somewhere else? Has the package been made obsolete by something else? Any pointers?

(And yes I did see the homebrew post, but the instructions aren't current either.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by SL Remy
close date 2017-09-15 12:40:39.875348

Comments

I think cmvision has been unmaintained for quite some time. I got it working with fuerte a while back, but I don't remember what that required.

Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2013-02-27 05:27:53 -0500 )edit

I can confirm I am getting the same error when writing an image subscriber like in this tutorial: http://www.ros.org/wiki/image_transport/Tutorials/SubscribingToImages

Cristina gravatar image Cristina  ( 2013-03-09 05:13:22 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-02-27 08:02:09 -0500

KM6VV gravatar image

updated 2013-02-27 08:04:37 -0500

edit flag offensive delete link more

Comments

Hi Alan, the sources that you suggested were the ones that resulted in the posted error message. What version of ROS were/are you successfully using this package with?

SL Remy gravatar image SL Remy  ( 2013-02-28 11:12:19 -0500 )edit

@trinighost I am working in groovy, it seems like CvBridge.h is deprecated in this version and I was able to get rid of the error by using cv_bridge/cv_bridge.h. Of course, now I have other errors, but perhaps you will have more luck!

Cristina gravatar image Cristina  ( 2013-03-09 05:47:59 -0500 )edit
0

answered 2013-03-20 06:02:09 -0500

Hi, I also want to use cmvision in groovy. But CvBridge.h is deprecated in this version. I downloaded CvBridge.h and compared with cv_bridge.h.

CvBridge.h includes: <stdexcept>, "sensor_msgs/Image.h", "opencv/cxcore.h", "opencv/cv.h"

cv_bridge.h includes: <stdexcept>, "sensor_msgs/Image.h", <ros static_assert.h="">, <opencv2 core="" core.hpp="">

In groovy /opt/ros/groovy/include, I found that although CvBridge.h is deprecated, all the headers are still available. So I copied CvBridge.h into /opt/ros/groovy/include/cv_bridge(use sudo cp). Now everything works!

In fuerte version, simply use: sudo apt-get install ros-fuerte-vision-opencv All the dependencies will be installed. Then download and make cmvision, it also works well.

edit flag offensive delete link more

Comments

Ok.. will give it a spin over the weekend..

SL Remy gravatar image SL Remy  ( 2013-03-25 13:52:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-27 05:21:11 -0500

Seen: 2,795 times

Last updated: Mar 20 '13