Chapter 9. Bot Location

Once you’ve built a robot—particularly a mobile one, with wheels and perhaps a measure of autonomy—an important part of controlling it is knowing where it’s gotten to while you weren’t looking (see R2-D2’s escape in Star Wars Episode IV: A New Hope for a classic example). While I don’t think you’ll need to install a restraining bolt on your rover, knowing where it is and where it’s going, even to the extent of logging those locations to examine the route later in Google Maps or Google Earth, is definitely an exciting possibility. We’ll be using a GPS unit, shown in Figure 9-1.

GPS stands for Global Positioning System, a satellite-based navigation system that can provide the location and time (in UTC format) for any place ...

Get Make a Raspberry Pi-Controlled Robot now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.