I created a catkin workspace folder ~/catkin-ws, and downloaded usb_cam (http://wiki.ros.org/usb_cam) source into ~/catkin-ws/src. I called catkin_make and ~/catkin-ws/devel/lib/usb_cam/usb_cam_node is created.
But when I type rosrun usb[TAB Key], nothing happened.
I think this is because usb_cam not registered to ros system yet, since there is no usb_cam in /opt/ros/hydro/lib(I am using hydro). so I tried this:
sudo cp -r ~/catkin-ws/devel/lib/* /opt/ros/hydro/lib/
still not working. how to get a catkin complied package recognized by rosrun?
by the way, running "~/catkin-ws/devel/lib/usb_cam/usb_cam_node" directly does work. is that the correct way?
↧