# Revision history [back]

### Running cvBridge tutorials program

Hello everyone, I am not that new in ROS, however there are still some instructions which I guess I don't understand. I have been learning how to work with openCV and ROS together. I looked already at the Image_transport tutorials and they worked well.

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. And also modified the CMakeListst.txt with this

add_executable(bridging src/image_converter.cpp) target_link_libraries(bridging ${catkin_LIBRARIES}) The package compiles correctly (with catkin_make) and I also sourced the package correctly (otherwise the package appears 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 /home/diego/Documents/Bot1.jpg However the result that appears is Could you please tell me if I failed in anything or if there is anything else I need in order to make the image load? I would thank you too much for this help. ### Running cvBridge tutorials program Hello everyone, I am not that new in ROS, however there are still some instructions which I guess I don't understand. I have been learning how to work with openCV and ROS together. I looked already at the Image_transport tutorials and they worked well. 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. And also modified the CMakeListst.txt with this add_executable(bridging src/image_converter.cpp) target_link_libraries(bridging${catkin_LIBRARIES})

The package compiles correctly (with catkin_make) and I also sourced the package correctly (otherwise the package appears 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 /home/diego/Documents/Bot1.jpg

However the result that appears is

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

Could you please tell me if I failed in anything or if there is anything else I need in order to make the image load?

I would thank you too much for this help.

### Running cvBridge tutorials program

Hello everyone, I am not that new in ROS, however there are still some instructions which I guess I don't understand. I have been learning how to work with openCV and ROS together. I looked already at the Image_transport tutorials and they worked well.

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. dependencies as it appears. And also modified the CMakeListst.txt with this

these 2 instructions

• add_executable(bridging src/image_converter.cpp) src/image_converter.cpp)
• List item target_link_libraries(bridging ${catkin_LIBRARIES}) The package compiles correctly (with catkin_make) and I also sourced the package correctly (otherwise the package appears 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 /home/diego/Documents/Bot1.jpg However the result that appears is "[ERROR] [1428600118.501228463]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying..." Could you please tell me if I failed in anything what is the mistake I made running the program... or if there is anything else I need in order to make the image load?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. ### 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})

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 /home/diego/Documents/Bot1.jpg

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

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

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