Book Image

Learning Robotics using Python - Second Edition

By : Lentin Joseph
Book Image

Learning Robotics using Python - Second Edition

By: Lentin Joseph

Overview of this book

Robot Operating System (ROS) is one of the most popular robotics software frameworks in research and industry. It has various features for implementing different capabilities in a robot without implementing them from scratch. This book starts by showing you the fundamentals of ROS so you understand the basics of differential robots. Then, you'll learn about robot modeling and how to design and simulate it using ROS. Moving on, we'll design robot hardware and interfacing actuators. Then, you'll learn to configure and program depth sensors and LIDARs using ROS. Finally, you'll create a GUI for your robot using the Qt framework. By the end of this tutorial, you'll have a clear idea of how to integrate and assemble everything into a robot and how to bundle the software package.
Table of Contents (12 chapters)

Understanding the Basics of Differential Robots

In the previous chapter, we discussed the basics of ROS, how to install it, and the basics of the Gazebo robot simulator. As we have already mentioned, we are going to create an autonomous wheeled robot from scratch. The robot that we are going to design is a differential drive robot, which involves having two wheels on opposite sides of the robot chassis, enabling the robot's direction to be adjusted by changing the speed of each of the two wheels.

It will be good to understand the basic ideas and terminology behind differential wheel robots before programming the robot. This chapter will give you an idea of how to analyze the robot mathematically and how to solve the robot's kinematics equation. The kinematics equation helps you to predict the robot's position from its sensor data.

In this chapter, we will cover...