O'Reilly logo

BeagleBone Robotic Projects by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Prepare for lift off

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.

Engage thrusters

If you completed the last section, you should be able to receive the 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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required