Robotics StackExchange | Archived questions

Running cvBridge tutorials program

Hello everyone. Right now I am working on the Cv_Bridge/tutorials (answers.ros.org/questions/ask/?title=Running 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

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.

Asked by Diego on 2015-04-09 12:48:40 UTC

Comments

Answers

Are you running "roscore" ?

Asked by moyashi on 2015-04-10 11:22:21 UTC

Comments

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.

Asked by Diego on 2015-05-23 09:56:27 UTC