Book Image

Python Robotics Projects

By : Prof. Diwakar Vaish
Book Image

Python Robotics Projects

By: Prof. Diwakar Vaish

Overview of this book

Robotics is a fast-growing industry. Multiple surveys state that investment in the field has increased tenfold in the last 6 years, and is set to become a $100-billion sector by 2020. Robots are prevalent throughout all industries, and they are all set to be a part of our domestic lives. This book starts with the installation and basic steps in configuring a robotic controller. You'll then move on to setting up your environment to use Python with the robotic controller. You'll dive deep into building simple robotic projects, such as a pet-feeding robot, and more complicated projects, such as machine learning enabled home automation system (Jarvis), vision processing based robots and a self-driven robotic vehicle using Python. By the end of this book, you'll know how to build smart robots using Python.
Table of Contents (24 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Programming multiple frames


In the previous chapter, we have learned the basics of how to make sure that the robot is working under safe limits. In this chapter, we will be looking at how a robot can be made to do different activities at a click of a button, instead of typing the values one by one.

To do this, we will need to understand some advanced concepts of motion. Whenever you watch any video or play any video games, then you must have come across the term frames per second (FPS). If you haven't heard this term, then let me explain it for you. Every video made right now is actually made by still images. These still images are captured by cameras that click 25-30 times in a second. When these images are played back on the screen at the same rate at which they are captured, it forms a smooth video.

Similarly, in robots, we do have the concept of frames. These frames, however, are not images but instead multiple steps that the robot has to follow to achieve a specific motion. In a simple...