Getting UVC working with Raspberry Pi


  1. install uvc stuff.

    sudo apt update
    sudo apt install -y libuvc-dev guvcview cheese v4l-utils
    # sudo apt install uvccapture uvcdynctrl
  2. try guvcview or cheese to see if you can see video output(may need to install):

    # cheese # only need to try one command
  3. (optional, seems already done, perhaps by previous step) add yourself to video group

    sudo usermod -a -G video $(whoami)
    1. Logout & login again , check if your vboxusers displays in this command
  4. (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
  1. get workspace prepared with dependencies:

    cd ~
    git clone
    cd libuvc_ros
    cp -r libuvc_camera ~/code/code_idealab_ros/src
    cp -r libuvc_ros ~/code/code_idealab_ros/src
    cd ~
    git clone
    cd nodelet_core
    cp -r nodelet ~/code/code_idealab_ros/src
    cp -r nodelet_core ~/code/code_idealab_ros/src
    git clone
    cd bond_core
    cp -r * ~/code/code_idealab_ros/src
    cd ~
    cd code_idealab_ros/
  2. identify desired video device:

v4l2-ctl --list-devices
  1. start roscore on master uri

  2. run node

rosrun libuvc_camera camera_node