Creating an ROS workspace for dependencies

Before starting to install the usb_cam package, let's create an ROS workspace for storing the dependencies of all of the projects mentioned in this book. We can create another workspace for keeping the project code as shown in the following steps:

  1. Create an 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
  1. Build the workspace using catkin_make.
  2. 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

Let's now look at configuring a webcam on Ubuntu.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.244.201