when rosrun works and roslaunch malfunctions
I am just started to work with ROS and I am facing a strange problem. I have executable based on camera driver and another executable which just show the images grabbed (imshow_node). While I start the driver using rosrun and either rosrun or roslaunch imshow_node everything works fine, however if I use roslaunch to start the dirver, and then roslaunch the imshow_node it doesnt show the images, it doesnt give me error neither.
I dont know if anyone came cross this problem before and I appreciate your help Cheers.
Can you add the launch file for the driver to your question? If the node can work properly, yet it simply fails when started from a launch file, it could be due to namespace changes or topic remappings that occur within the launch file.
here is the launch file for the driver : <launch>
and here is the launch file for the node :
The launch file for
pleora_polarcam_driver
is passing in an argument for the ip address. Do you also supply that argument when starting it withrosrun
?Hi Steven, Yes, the ip I pass it in the rosrun as well, but after your comment I checked and infact, my node name for the driver was the same as the package name and I thought the name that I insert in the launch file, doest not need to be exactly the same. Thanks for your answer
So it's working now?