Installing dependencies using rosdep

Like we did in ROS-1, we install dependencies using rosdep. You will have initialized rosdep list in the previous chapter. If not, use the following command; otherwise, skip to the next command:

$ sudo rosdep init

Now, update rosdep:

$ rosdep update

Then, install the following dependencies:

$ rosdep install --from-paths src --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"

If everything is successful, you should see the following window:

Successfully installed ros dependencies

If you would like to install ...

Get ROS Robotics Projects now with O’Reilly online learning.

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