Accessing the GPS programmatically and determining how to move to a location

Now that you can access your GPS device, let's work on accessing the data programmatically. Your project should now have the GPS connected and have access to querying the data via the serial port. In this section, you will create a program to use this data to discover where you are, and then you can determine what to do with that information.

If you completed the last section, you should be able to receive raw data from the GPS unit. Now you want to be able to take this data and do something with it; for example, find your current location and altitude, and then decide if your target location is to the west, east, north, or south.

First, get the information out of ...

Get BeagleBone Robotic Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.