cgps

Langue: en

Version: 03/22/2009 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

xgps, xgpsspeed, cgps, cgpxlogger - test clients for gpsd

SYNOPSIS

xgps [X-options] [-h] [-j] [-V] [-speedunits {[mph] | [kph] | [knots]}] [-altunits {[feet] | [meters]}] [-l [[d] | [m] | [s]]] [-s smoothing] [server [:port [:device]]]
xgpsspeed [-rv] [X-options] [-h] [-V] [-nc X-color] [-speedunits {[mph] | [kph] | [knots]}] [server [:port [:device]]]
cgps [-h] [-j] [-V] [-speedunits {[mph] | [kph] | [knots]}] [-altunits {[feet] | [meters]}] [-l [[d] | [m] | [s]]] [-m] [server [:port [:device]]]
gpxlogger [logfile]
cgpxlogger [-s gpsd-server] [-p gpsd-port] [-i poll-interval] [-h]

DESCRIPTION

xgps

xgps is a simple test client for gpsd with an X interface. It displays current GPS position/time/velocity information and (for GPSes that support the feature) the locations of accessible satellites.

In the sky view, satellites are color-coded to indicate quality of signal; consult the data display to the left for exact figures in dB. Diamond icons indicate WAAS/EGNOS satellites, circles indicate ordinary GPS satellites. Filled icons were used in the last fix, outline icons were not.

xgps accepts an -h option as for gpsd, or a -V option to dump the package version and exit.

An optional argument may specify a server to get data from; a colon-separated suffix is taken as a port number. If there is a second colon-separated suffix, that is taken as a device name to be handed to the daemon in an F= command.

The -speedunits option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour. The default is miles per hour. This option can also be set as the X resource 'speedunits'.

The -altunits option can be used to set the altitude units for display; follow the keyword with 'meters' or 'feet'. The default is feet. This option can also be set as the X resource 'altunits'.

The -j option tells the daemon to hold fix data across cycles, eliminating jitter from NMEA devices that emit several partial reports. The downside is that with this switch on the client will occasionally report stale or invalid data held over from a previous cycle. This option is ineffective, and not needed, on SiRFs and most other non-NMEA GPSes.

The -l option sets the format of latitude and longitude reports. The value 'd' produces decimal degrees and is the default. The value 'm' produces degrees and decimal minutes. The value 's' produces degrees, minutes, and decimal seconds.

There is a known bug in xgps; it assumes the default font size is no more than 18 pixels. If this is not the case, the satellite data display will show fewer than 12 satellites.

xgpsspeed

xgpsspeed is a speedometer that uses position information from the GPS. It accepts an -h option and optional argument as for gps, or a -V option to dump the package version and exit. Additionally, it accepts -rv (reverse video) and -nc (needle color) options.

The -speedunits option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour. The default is miles per hour. This option can also be set as the X resource 'speedunits'.

cgps

cgps is a client resembling xgps, but without the pictorial satellite display and able to run on a serial terminal or terminal emulator.

The -s option prevents cgps from printing the raw data. This display can also be toggled with the s command.

The -j option is as described for xgps above.

The -m option will display your magnetic heading (as opposed to your true heading). This is a calculated value, not a measured value, and is subject to a potential error of up to two degrees in the areas for which the calculation is valid (currently Western Europe, Alaska, and Lower 48 in the USA). The formulas used are those found in the Aviation Formulary v1.43.

Rather than use X resources to determine which units to use, cgps looks at variables in its environment. Here are the variables and values it checks:

     GPSD_UNITS one of: 
               imperial   = miles/feet
               nautical   = knots/feet
               metric     = km/meters
     LC_MEASUREMENT
               en_US      = miles/feet
               C          = miles/feet
               POSIX      = miles/feet
               [other]    = km/meters
     LANG
               en_US      = miles/feet
               C          = miles/feet
               POSIX      = miles/feet
               [other]    = km/meters
 

cgps terminates when you send it a SIGHUP or SIGINT; given default terminal settings this will happen when you type Ctl-C at it. It will also terminate on 'q'

The 'j' command toggles whether or not fix data is cleared at start of cycle; see the description of the -j of xgps (above) and gpsd(8) for discussion.

cgpxlogger

This program connects to gpsd, polls for location, and logs each fix to standard output in GPX (XML) format.

The -s and -p options can be used to specify a server and port to query.

The -i option sets the poll interval at which the logger will collect samples.

The -j option is as described for xgps above.

The -h option causes the program to emit a summary of its options and then exit.

The program also writes start and end messages to syslog.

gpxlogger

This program listens to DBUS broadcasts from gpsd (org.gpsd.fix) and logs each fix to standard output as they arrive in an XML format.

The output may be composed of multiple tracks. A new track is created if there's no fix for 5 seconds.

The program also writes start and end messages to syslog.

SEE ALSO

gpsd(8), libgps(3), libgpsd(3), gpsfake(1), gpsctl(1), gpscat(1), gpsprof(1).

AUTHORS

Remco Treffcorn, Derrick Brashear, Russ Nelson & Eric S. Raymond(xgps). Jeff Francis (cgps). Amaury Jacquot <sxpert@esitcom.org> & Petter Reinholdtsen <pere@hungry.com> (gpxlogger). Chris Kuethe <chris.kuethe@gmail.com> (cgpxlogger).

This manual page by Eric S. Raymond <esr@thyrsus.com>. There is a project page, with xgps screenshots, at berlios.de[1].

NOTES

1.
berlios.de
http://gpsd.berlios.de/