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

Running cvBridge tutorials program

asked 2015-04-09 12:48:40 -0500

Diego gravatar image

updated 2015-04-10 07:25:59 -0500

Hello everyone. Right now I am working on the Cv_Bridge/tutorials ( cvBridge tutorials program)

I already created the package with the 5 dependencies as it appears. And also modified the CMakeListst.txt with these 2 instructions

  • add_executable(bridging src/image_converter.cpp)
  • List item target_link_libraries(bridging ${catkin_LIBRARIES})

I also added the path to find OpenCV...

The package compiles correctly (with catkin_make) and I also sourced the package correctly (otherwise the package would appear as inexistent), and I guess, the running instruction I used was correct (I guess that this is what they meant saying "To run the node, you will need an image stream. Run a camera or play a bag file to generate the image stream. Now you can run this node, remapping "in" to the actual image stream topic." was this):

rosrun bridging bridging

the result that appears is

"[ERROR] [1428600118.501228463]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying..."

Could you please tell me what is the mistake I made running the program... or at least, is the instruction they gave, consistent with what I wrote to run the node?

I would thank you too much for this help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-10 11:22:21 -0500

moyashi gravatar image

Are you running "roscore" ?

edit flag offensive delete link more


Hello, Yes I did it however nothing changed. I think that for this one I should use a launch file, however I don't know how I should make it.

Diego gravatar image Diego  ( 2015-05-23 09:56:27 -0500 )edit

Question Tools

1 follower


Asked: 2015-04-09 12:48:40 -0500

Seen: 160 times

Last updated: Apr 10 '15