Ask Your Question

How to use very latest OpenCV version in ROS?

asked 2011-05-05 04:41:34 -0500

Julius gravatar image

updated 2011-05-05 06:13:07 -0500

Eric Perko gravatar image

I am trying to use the very latest version of OpenCV in ROS because I want to integrate a critical bugfix from OpenCV. From what I read OpenCV is integrated by some 'magic' mechanism. Is it simply enough to replace my diamondback vision_opencv stack by the latest one from SVN, or do I also have to specify which OpenCV version is magically included?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-05 06:11:35 -0500

updated 2011-05-05 06:16:09 -0500

The make file in vision_opencv/opencv2 seems to contain the URI and svn branch it checks out. You could probably do what you are saying by changing that URI, though I'm guessing and can't confirm that this would work.

edit flag offensive delete link more


This will work as long as you are building everything dependent on it from source.
tfoote gravatar image tfoote  ( 2011-05-05 07:13:38 -0500 )edit
Yes. I backported latest OpenCV rev 5024 from trunk to aptitude ROS diamondback installation. Applied the following changes (1) SVN_URL="", (2) SVN_REVISION="-r5024", (3) disabling out-dated patch "# SVN_PATCH = pythontest.patch". (4) Removed ROS_NOBUILD.
Julius gravatar image Julius  ( 2011-05-06 00:59:35 -0500 )edit
You should avoid changing the files included in the debs (the files that are in /opt/ros ) as they will likely be overwritten in the next update to that .deb package. You should instead overlay the vision_opencv stack and make your changes to this local overlay.
Eric Perko gravatar image Eric Perko  ( 2011-05-06 08:29:51 -0500 )edit
True indeed, that's good advice. It's not recommended to mess around with any packaged installation. The steps remain the same, though.
Julius gravatar image Julius  ( 2011-05-06 19:11:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2011-05-05 04:41:34 -0500

Seen: 1,907 times

Last updated: May 05 '11