How do you launch image_proc?
I am using ROS melodic and trying to launch image_roc as documented here to convert bayer images to color images. However I am not able to launch it as specified:
$ rosrun image_proc image_proc
[rosrun] Couldn't find executable named image_proc below /opt/ros/melodic/share/image_proc
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun] /opt/ros/melodic/share/image_proc
$ ls /opt/ros/melodic/share/image_proc
cmake launch nodelet_plugins.xml package.xml
As you can see, the path that rosrun is looking at is indeed not an executable file, but a directory.
Asked by steakoverflow on 2019-03-20 07:39:26 UTC
Comments
First, did you source?
Second, try to set the NAMESPACE. For example, if your image topic is /my_camera/image_raw,
Asked by yoshiros on 2019-03-20 10:34:22 UTC
@yoshiros
source /opt/ros/melodic/setup.bash
did the trick. It's in my .bashrc and I can execute other stuff, so I didn't notice it. Thanks.Asked by steakoverflow on 2019-03-22 10:19:17 UTC