Ask Your Question
1

How to use very latest OpenCV version in ROS?

asked May 05 '11

Julius gravatar image Julius
565 1 13 26

updated May 05 '11

Eric Perko gravatar image Eric Perko flag of United States
5281 27 53 101
http://ericperko.com/

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?

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
2

answered May 05 '11

Asomerville gravatar image Asomerville
1700 5 21 54
http://www.resquared.com/

updated May 05 '11

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.

link delete flag offensive edit

Comments

This will work as long as you are building everything dependent on it from source. tfoote (May 05 '11)edit
Yes. I backported latest OpenCV rev 5024 from trunk to aptitude ROS diamondback installation. Applied the following changes (1) SVN_URL="https://code.ros.org/svn/opencv/trunk/opencv", (2) SVN_REVISION="-r5024", (3) disabling out-dated patch "# SVN_PATCH = pythontest.patch". (4) Removed ROS_NOBUILD. Julius (May 06 '11)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 (May 06 '11)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 (May 07 '11)edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: May 05 '11

Seen: 280 times

Last updated: May 05 '11