You are previewing Raspberry Pi Robotics Essentials.
O'Reilly logo
Raspberry Pi Robotics Essentials

Book Description

Harness the power of Raspberry Pi with Six Degrees of Freedom (6DoF) to create an amazing walking robot

In Detail

The Raspberry Pi B2 is an inexpensive embedded processor that provides a high-performance Linux development environment.

This book is a fast-paced guide that will show you how to use Raspberry Pi technology to build a biped robot that can interact with its environment. We start off by explaining the basics of getting your Raspberry Pi up and running, ready to be mounted on your biped platform. After this, you will be introduced to the art of constructing a mechanism for the biped platform. You will then learn to develop a vision system for your robot, as well as a means by which you can control and monitor it. At the end of this book, you will have learned enough to build a complex biped robot that can walk, turn, find its way, and "see" its environment.

What You Will Learn

  • Build a basic biped platform, a servo-based robot that can walk

  • Add Six Degrees of Freedom (6DoF) to your robot and make it free to move forward/backward, up/down, and left/right

  • Add vision through a webcam so that the biped can "see" the world around it

  • Implement path planning so that the biped can move around autonomously

  • Add wireless communication so that you can see what the robot is seeing and control the robot from a distance

  • Downloading the example code for this book. 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.

    Table of Contents

    1. Raspberry Pi Robotics Essentials
      1. Table of Contents
      2. Raspberry Pi Robotics Essentials
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the color images of this book
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Configuring and Programming Raspberry Pi
        1. Configuring Raspberry Pi – the brain of your robot
        2. Installing the operating system
        3. Adding a remote graphical user interface
          1. Establishing wireless access
        4. Programming on Raspberry Pi
          1. Creating and running Python programs on the Raspberry Pi
          2. An introduction to the C/C++ programming language
        5. Summary
      9. 2. Building the Biped
        1. Building robots that can walk
        2. How servo motors work
        3. Building the biped platform
        4. Using a servo controller to control the servos
        5. Communicating with the servo controller with a PC
        6. Connecting the servo controller to the Raspberry Pi
        7. Creating a program to control your biped
        8. Summary
      10. 3. Motion for the Biped
        1. A basic stable pose
        2. A basic walking motion
        3. A basic turn for the robot
        4. Summary
      11. 4. Avoiding Obstacles Using Sensors
        1. Connecting Raspberry Pi to an infrared sensor
        2. Connecting Raspberry Pi to a USB sonar sensor
        3. Summary
      12. 5. Path Planning and Your Biped
        1. Connecting a digital compass to the Raspberry Pi
        2. Accessing the compass programmatically
        3. Dynamic path planning for your robot
          1. Basic path planning
          2. Avoiding obstacles
        4. Summary
      13. 6. Adding Vision to Your Biped
        1. Installing a camera on your biped robot
          1. Installing a USB camera on Raspberry Pi
          2. Installing RaspiCam on Raspberry Pi
        2. Downloading and installing OpenCV – a fully featured vision library
        3. Edge Detection and OpenCv
        4. Color and motion finding
        5. Summary
      14. 7. Accessing Your Biped Remotely
        1. Adding a wireless dongle and creating an access point
        2. Adding a joystick remote control
        3. Adding the capability to see remotely
        4. Summary
      15. Index