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

sensor_msgs::CvBridge or cv_bridge in hydro

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

hvn gravatar image


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 ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

ahendrix gravatar image

Not a complete answer, but this tutorial is up to date for the latest version of cv_bridge:

edit flag offensive delete link more


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 -0600 )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 -0600 )edit

Question Tools

1 follower


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

Seen: 203 times

Last updated: May 30 '14