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)

Technical requirements

To test the application and code in this chapter, you need an Ubuntu 16.04 LTS PC/laptop with ROS Kinetic installed.

You need to know Qt, PyQt, and rqt installed.

Two of the most popular GUI frameworks currently available are Qt (http://qt.digia.com) and GTK+ (http://www.gtk.org/).Qt and GTK+ are open source, cross-platform user interface toolkits and development platforms. These two software frameworks are widely used in Linux desktop environments, such as GNOME and KDE.

In this chapter, we will be using Python binding of the Qt framework to implement the GUI because Python binding of Qt is easier to develop compared to other methods. We will look at how to develop a GUI from scratch and program it using Python. After discussing basic Python and Qt programming, we will discuss ROS interfaces of Qt and Python, which are already available in ROS. We will...