ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

usb_cam error : ERROR: cannot launch node of type [usb_cam/usb_cam_node]: Cannot locate node of type [usb_cam_node] in package [usb_cam]. Make sure file exists in package path and permission is set to executable (chmod +x)

asked 2020-08-18 03:21:34 -0500

kdasfbhn gravatar image

Firstly I managed to get it up and running without any problems. Then I created a package in catkin_ws called ''usb_cam''. Then I tried running again with roslaunch usb_cam usb_cam-test.launch and the following error appeared on the screen : ERROR: cannot launch node of type [usb_cam/usb_cam_node]: Cannot locate node of type [usb_cam_node] in package [usb_cam]. Make sure file exists in package path and permission is set to executable (chmod +x)

I guess I couldn't compile or edit the package. (I added roscpp and I did catkin_make)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-22 19:59:24 -0500

fergs gravatar image

If you created a new package called "usb_cam" in your workspace, that would overlay the actual "usb_cam" package - making the usb_cam_node un-findable. ROS package names must be unique. If you're creating a new package, don't name it the same as an existing package (especially one you depend on).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-08-18 03:21:34 -0500

Seen: 1,601 times

Last updated: Aug 22 '20