Can't start web_video_server after sourcing catkin_workspace

asked 2019-12-28 22:32:14 -0600

shantiscript gravatar image

updated 2019-12-28 22:35:02 -0600

Hi, I installed the web_video_server (http://wiki.ros.org/web_video_server) from the robot web tools via

apt install ros-kinetic-web-video-server

if i source the setup.sh from the main ros installtion

source /opt/ros/kinetic/setup.bash

i can start the video server via

rosrun web_video_server web_video_server

But when i overlay my catkin workspace via

source ~/catkin_ws/devel/setup.sh

trying to start the server returns:

[rosrun] Couldn't find executable named web_video_server below /opt/ros/kinetic/share/web_video_server [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /opt/ros/kinetic/share/web_video_server

I can still start other standard ROS packages after overlaying the workspace with rosrun but not the web server. It looks like ROS is looking in the wrong place for the executable after overlaying the workspace as the executable is located under

opt/ros/kinetic/lib/web_video_server

not under

opt/ros/kinetic/share/web_video_server

Do i have to modify my catkin setup.sh so ROS looks under the lib folder for installed packages?

edit retag flag offensive close merge delete

Comments

I can't remember if that node is python, but if it is, is the file executable?

billy gravatar image billy  ( 2019-12-28 23:53:11 -0600 )edit

No its not a python node it is written in C++, and it is executable otherwise I wouldn't be able to start it when sourcing the ROS default setup.sh

shantiscript gravatar image shantiscript  ( 2019-12-29 06:21:49 -0600 )edit