Skip to main content

About this book

Learn how to get started with robotics programming using Robot Operation System (ROS). Targeted for absolute beginners in ROS, Linux, and Python, this short guide shows you how to build your own robotics projects.

ROS is an open-source and flexible framework for writing robotics software. With a hands-on approach and sample projects, Robot Operating System for Absolute Beginners will enable you to begin your first robot project. You will learn the basic concepts of working with ROS and begin coding with ROS APIs in both C++ and Python.
What You’ll LearnInstall ROSReview fundamental ROS concepts
Work with frequently used commands in ROS
Build a mobile robot from scratch using ROS

Who This Book Is For
Absolute beginners with little to no programming experience looking to learn robotics programming.

Table of Contents


Chapter 1. Getting Started with Ubuntu Linux for Robotics

Let’s start our journey of programming robots by using the Robot Operating System (ROS). In order to get started with ROS, there are some prerequisites to be satisfied. The prerequisites are to have a good understanding of Linux, especially Ubuntu; a good understanding of Linux shell commands; and Python and C++programming knowledge.
Lentin Joseph

Chapter 2. Fundamentals of C++ for Robotics Programming

In the last chapter, we went through detailed procedures to install Ubuntu on VirtualBox and on a real PC. We also practiced important shell commands that we are going to use while building a robot. The next important requirement for working with a robot is to learn a few programming languages. By using these languages, we can program the robot for a particular application. Some of the popular programming languages used for creating robotic applications are C++ and Python. This doesn’t mean that we are won’t use other languages. Programming languages like Java and C# are also used in robotics, but the most common languages are C++ and Python.
Lentin Joseph

Chapter 3. Fundamentals of Python for Robotics Programming

The last chapter discussed the fundamental concepts of C++ and the object-oriented programming concepts used to program robots. In this chapter, we look at the basics of the Python programming language, which can be used to program robots.
Lentin Joseph

Chapter 4. Kick-Starting Robot Programming Using ROS

The last three chapters discussed the prerequisites for programming a robot using the Robot Operating System (ROS). We discussed the basics of Ubuntu/Linux, bash commands, the basic concepts of C++ programming, and the basics of Python programming. In this chapter, we start working with ROS. Before discussing ROS concepts, let’s discuss robot programming and how we do it. After this, we learn more about ROS, how to install ROS, and its architecture.
Lentin Joseph

Chapter 5. Programming with ROS

The previous chapter discussed the basics of the Robot Operating System, and in this chapter, you are going to program using ROS. The main programming languages that we are going to use are C++ and Python. We already discussed the basics of C++ and Python in Chapter 2 and Chapter 3. Those fundamental concepts can be applied here to start working with ROS. You will see examples in Python and in C++, so you get a fundamental idea about both languages.
Lentin Joseph

Chapter 6. Robotics Project Using ROS

The previous chapter discussed programming using ROS client libraries such as ROS Py and ROS C++. In this chapter, you see how to apply those things to a robot. You see how to make a low-cost, differential drive robot that is compatible with ROS. You also see how to perform dead-reckoning in the robot using ROS. By doing this project, you get a clearer understanding of ROS concepts and where to apply them.
Lentin Joseph


Without Abstract
Lentin Joseph


Additional information

Premium Partner

    Image Credits