Ask Your Question
0

sensor_msgs::CvBridge or cv_bridge in hydro

asked 2014-05-30 02:14:03 -0500

hvn gravatar image

Hi,

During adaptation from Electric to Hydro, I find that sensor_msgs::CvBridge is gone. Using cv_bridge doesn't work either. Looking through the wiki doesn't really help much. Any clue on how to get on ?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-30 12:21:15 -0500

ahendrix gravatar image

Not a complete answer, but this tutorial is up to date for the latest version of cv_bridge: http://wiki.ros.org/cv_bridge/Tutoria...

edit flag offensive delete link more

Comments

Thank you. Despite this tutorial and looking around I get compatibility issues like that cvToImgMsg is no member of cv_bridge. I assume that I have to re-code everything concerning cv_bridge and sensor_msgs.

hvn gravatar image hvn  ( 2014-06-02 08:15:56 -0500 )edit

It looks like cvToImgMsg is now toImageMsg and is a function on the CvImage class, rather than being a standalone function. Bottom line is, you'll probably have to rewrite most of your image conversions.

ahendrix gravatar image ahendrix  ( 2014-06-02 16:16:07 -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

1 follower

Stats

Asked: 2014-05-30 02:14:03 -0500

Seen: 162 times

Last updated: May 30 '14