Book Image

Mastering Beaglebone Robotics

By : Richard Grimmett
Book Image

Mastering Beaglebone Robotics

By: Richard Grimmett

Overview of this book

Table of Contents (18 chapters)
Mastering BeagleBone Robotics
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Robotics, the art and science of building machines that can perform some of the same functions as humans or animals, has been a part of human creative ambition since the time of the Greeks, who conceived Talos—a warrior made entirely of bronze that protected their lands and people. Leonardo da Vinci designed a mechanical knight that could sit, stand, and raise its visor. The first modern robots emerged in the 1920s—robots that could perform the same sort of simple motions as da Vinci's mechanical man through the use of electrical motors and signals.

In recent times, advances in technology have pushed the development of robots to the point of reality. Most of these projects have been created in defense department laboratories and university research facilities. However, new developments in inexpensive hardware and open source software have created opportunities for almost anyone to construct and experiment with automated machines.

The purpose of this book is not only to facilitate but also inspire these kinds of efforts. Robotics is no longer reserved for the PhD or even the trained engineer. You—yes, you—can construct machines that can roll, walk, swim, and even fly with the kind of functionality that is normally associated with intelligent life. I often tell my students that while they laugh at me because I once had to wash dishes by hand, their children will laugh at them because they had to load and unload the dishwasher by hand.

So, off to building the next great robotic breakthrough!

What this book covers

Chapter 1, Preparing the BeagleBone Black, teaches you how to unbox, power up, and load the BeagleBone Black with all of the necessary software to build the projects described in this book.

Chapter 2, Building a Basic Tracked Vehicle, describes your first project, that is, a tracked vehicle. You'll learn how to construct the platform so that you can control the speed and direction of your robot.

Chapter 3, Adding Sensors to Your Tracked Vehicle, explains how, after creating a platform that is mobile, you'll add sensors to help your robot avoid, or find, objects.

Chapter 4, Vision and Image Processing, shows that your robot is maneuverable, but now you'll add the capability to not only sense but also see the world around it.

Chapter 5, Building a Robot that Can Walk, teaches you to build a robot that can walk—a quadruped robot controlled by the BeagleBone Black.

Chapter 6, A Robot that Can Sail, proves that while a robot that can roll or walk is impressive, one that can sail is even more amazing. You'll build a robot that can sail under the control of the BeagleBone Black.

Chapter 7, Using GPS for Navigation, shows that sailing your sailboat is easy if a human is controlling it. You can give your sailboat autonomy by giving it a sense of where it is and where it is going. The GPS system provides this feature and you'll learn how to use it to sail.

Chapter 8, Measuring Wind Speed – Integrating Analog Sensors, teaches you that to sail your sailboat, you'll need to know the wind direction. You'll learn how to use an anemometer (wind sensor) to sail your boat.

Chapter 9, An Underwater Remotely Operated Vehicle, demonstrates the construction of a vessel that can be controlled from the surface while it explores the environment under the water.

Chapter 10, A Quadcopter, shows that, now that you've explored the earth and the water, there is only one more place left to go—the air. You'll learn how to construct one of the most stable and maneuverable flying platforms—the quadcopter.

Chapter 11, An Autonomous Quadcopter, covers the final step in exploring the heavens, that is, providing your quadcopter with the capability of flying itself.

What you need for this book

Generally, each chapter will detail the hardware and software needed for that chapter. However, before you get started, you'll need a BeagleBone Black, a host computer (Windows, Linux, or Mac), and an Internet connection for your BeagleBone Black, probably through some sort of LAN cable.

Who this book is for

If you want a simple guide to building complex robots, then this book is for you. You'll need some programming knowledge, and experience of working with mechanical systems.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Since the make system already knows how to build the pocketsphinx_continuous program, any time you make a change to the continuous.c file, it will rebuild the application."

Any command-line input or output is written as follows:

storage = cv.CreateMemStorage(0)

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Go to the WIFI Adapters section to see some devices that others have successfully used."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Downloading the color images of this book

We also provide you a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: https://www.packtpub.com/sites/default/files/downloads/8907OS_Graphics.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.