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

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.