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

capturing camera in electric and groovy

asked 2013-11-21 02:22:01 -0500

hvn gravatar image

Hi,

I need to change my code for capturing images from electric to groovy and find that CvBridge has gone. Finding http://answers.ros.org/question/9765/how-to-convert-cvmat-to-sensor_msgsimageptr/?answer=14282#post-id-14282 and http://answers.ros.org/question/60279/sensor_msgscvbridgecvtoimgmsg-in-groovy/ they seem to offer a solution but also raises questions about the use of some variables that are just used without visible declaration. My current code:

sensor_msgs::CvBridge cvbridge; image = cvbridge.imgMsgToCv(msgs_im, "bgr8");.

Can somebody give an explanation ?

Thank you

edit retag flag offensive close merge delete

Comments

My point is that in the first answer in that link i and ci are being used without explanation. That makes it for me hard to understand how it exactly happens. If you can tell me, I'd appreciate it.

hvn gravatar image hvn  ( 2013-11-21 19:06:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-21 07:41:02 -0500

lindzey gravatar image

Your second link would seem to answer your own question ... have you tried it? What didn't work?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-11-21 02:22:01 -0500

Seen: 110 times

Last updated: Nov 21 '13