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

Getting the vehicle ready


Now is the time to go ahead and make the robotic vehicle a reality. So let's unbox the vehicle chassis and screw every part together. The assembly manual generally comes along with the kit, so it won't take long for you to complete it. 

Once you have completed building the kit, go ahead and segregate the wires for each of the motors. This is going to be a very important part of making the vehicle ready. So, once you have all the wires coming out of the vehicle, take a cell and power up each of the wheels. Notice the polarity of connection in which the wheels spin in the forward direction. All you have to do is to take a permanent marker or perhaps a nail paint and mark the wire which goes to the positive terminal when the motor is spinning in the forward direction. As all of these motors are entirely dependent on polarity for the direction, this step is key to ensure that whenever we power them up they always spin in the same direction. Trust me, this will save you...