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
- 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.