Creating a ROS workspace for dependencies

Before starting to install the usb_cam package, let's create a ROS workspace for storing the dependencies of all the projects mentioned in the section. We can create another workspace for keeping the project code.

Create a ROS workspace called ros_project_dependencies_ws in the home folder. Clone the usb_cam package into the src folder:

    $ git clone https://github.com/bosch-ros-pkg/usb_cam.git

Build the workspace using catkin_make.

After building the package, install the v4l-util Ubuntu package. It is a collection of command-line V4L utilities used by the usb_cam package:

    $ sudo apt-get install v4l-utils

Configuring a webcam on Ubuntu 16.04

After installing these two, we can connect the webcam to ...

Get ROS Programming: Building Powerful Robots now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.