Gpslogger_oml2

The GPS logger application is a re-implementation of the existing GPS application. It makes use of the libgps library and data structures. In addition to capturing latitude and longitude, it reads elevation, the fix type (none, 2D or 3D) and the timestamp sent from the satellite and reports these values back to an OML server. An example on how to use it in an OMF experiment can be found here .

Parameters

GPS logger accepts the -h (help) and -v (verbose) switches. You can also specify a server, port and device name. By default, GPS logger will try to connect to a gpsd running on localhost. If you want to connect to a gpsd on a different address or port, specify "hostname:port" as the last parameter. You can optionally also specify a device, if your gpsd talks to multiple GPS units simultaneously.

Usage: ./gpslogger [-h] [-v] [server[:port:[device]]]
    defaults to './gpslogger localhost:2947'
    -v = verbose mode: print fix data