Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Raspberry Pi Zero

You're reading from  Getting Started with Raspberry Pi Zero

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781786469465
Pages 228 pages
Edition 1st Edition
Languages
Author (1):
Richard Grimmett Richard Grimmett
Profile icon Richard Grimmett

Table of Contents (16) Chapters

Getting Started with Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Getting Started with Raspberry Pi Zero 2. Programming Raspberry Pi Zero 3. Accessing the GPIO Pins on Raspberry Pi Zero 4. Building and Controlling a Simple Wheeled Robot 5. Building a Robot That Can Walk 6. Adding Voice Recognition and Speech – A Voice Activated Robot 7. Adding Raspberry Pi Zero to an RC Vehicle 8. Playing Rock, Paper, or Scissors with Raspberry Pi Zero 9. Adding Raspberry Pi Zero to a Quadcopter Index

Planning your path


Now that you have a wheeled or tracked vehicle, you may want to do some basic path planning. To do this, you need a framework to understand where your robot is and determine the location of the goal. One of the most common frameworks is an x-y grid. The following diagram is an example of this type of grid:

There are three key points on this grid that you need to understand. Here is an explanation of them:

  • The lower left point is a fixed reference position. The directions x and y are also fixed and all other positions are measured in relation to this position and these directions. Each unit is measured with regards to how far the unit travels in time in a single unit.

  • Another important point is the starting location of your robot. Your robot will then keep track of its location using its x and y coordinates, the position with respect to some fixed reference position in the x direction, or the position with respect to some fixed reference position in the y direction to the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}