install uvc stuff.
sudo apt update
sudo apt install -y libuvc-dev guvcview cheese v4l-utils
# sudo apt install -y uvccapture uvcdynctrl
try guvcview or cheese to see if you can see video output(may need to install):
# cheese # only need to try one command
guvcview
(optional, seems already done, perhaps by previous step) add yourself to video group
sudo usermod -a -G video $(whoami)
groups
(optional, seems already done, perhaps by previous step) copy rules from idealab_ros_tools to rules folder (according to this ref)
cd ~/code/code_idealab_ros/src
sudo cp 99-uvc-c930.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger
sudo reboot
get workspace prepared with dependencies:
cd ~
git clone https://github.com/ros-drivers/libuvc_ros
cd libuvc_ros
cp -r libuvc_camera ~/code/code_idealab_ros/src
cp -r libuvc_ros ~/code/code_idealab_ros/src
cd ~
git clone https://github.com/ros/nodelet_core
cd nodelet_core
cp -r nodelet ~/code/code_idealab_ros/src
cp -r nodelet_core ~/code/code_idealab_ros/src
git clone https://github.com/ros/bond_core
cd bond_core
cp -r * ~/code/code_idealab_ros/src
cd ~
cd code_idealab_ros/
catkin_make
identify desired video device:
v4l2-ctl --list-devices
start roscore on master uri
run node
rosrun libuvc_camera camera_node