Installing the ROS Navigation stack

The ROS desktop full installation will not install the ROS Navigation stack. We must install the Navigation stack separately, using the following command:

$ sudo apt-get install ros-kinetic-navigation  

After installing the Navigation package, let's start learning how to build a map of the robot environment. The robot we are using here is the differential wheeled robot that we discussed in the previous chapter. This robot satisfies all the three requirements of the Navigation stack.

Get Mastering ROS for Robotics Programming - Second Edition 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.