GPSDemo HOWTO

From BUG Wiki

Jump to: navigation, search

Contents

GPS Demo

Introduction

This is a basic application that shows how to use services exposed by GPS module

Required modules

GPS

Instructions

Download GPSDemo to your workspace and launch Virtual BUG. When GPS module is attached the application will run displaying current GPS reading as well as raw data provided by the GPS:

GPS position coordinates:
-------------------------
GPS latitude: 40.743722222222225
GPS longitude: -73.99397222222223
GPS raw data:
-------------
PRMC,000000,V,4044.361,N,07359.389,W,0.00,0.00,010070,,*14
$GPGGA,000000,4044.361,N,07359.389,W,0,00,0.0,0.000,M,0.0,M,,*6B
$GPRMC,000000,V,4044.364,N,07359.389,W,0.00,0.00,010070,,*11
...
...