Gps-debug

From University of Washington - Ubicomp Research Page
Revision as of 23:20, 16 August 2007 by Karl Koscher (talk | contribs) (→‎gps-debug)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

gps-debug

The gps-debug is a program monitors the GPS data stream, prints out verbose status information about the GPS unit, and sets the tri-color LED on the MSB to indicate the GPS status. This program only works with SiRF GPS modules using the binary protocol. The debugging output is useful only if you have some knowledge of the SiRF binary protocol and how GPS works.

usage

    Command line format

      gps-debug
      gps-debug has no options.

LED colors

Color Status
Blinking Red No recent communication with the GPS unit.
Red Communication OK, but no GPS lock
Cyan 2D GPS Lock
Green 3D GPS lock
Blue Dead-reckoning

Example output

    Measured Tracking Data:
    	GPS Week:	416
    	ToW:	428330.00 s
    	Chans:	12
    	SVid:	8
    		Azimuth:	99.0
    		Elev.:	69.0
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK EPH-AVAIL 
    
    	SVid:	28
    		Azimuth:	276.0
    		Elev.:	80.5
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK EPH-AVAIL 
    
    	SVid:	25
    		Azimuth:	118.5
    		Elev.:	22.0
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK EPH-AVAIL 
    
    	SVid:	27
    		Azimuth:	115.5
    		Elev.:	44.5
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK EPH-AVAIL 
    
    	SVid:	11
    		Azimuth:	99.0
    		Elev.:	17.5
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK 
    
    	SVid:	17
    		Azimuth:	183.0
    		Elev.:	29.5
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK EPH-AVAIL 
    
    	SVid:	19
    		Azimuth:	43.5
    		Elev.:	21.0
    		Flags:	ACQ-OK ICPV BITSYNC SUBSYNC PULLIN CODELOCK 
    
    	SVid:	0
    		Azimuth:	0.0
    		Elev.:	0.0
    		Flags:	
    
    	SVid:	29
    		Azimuth:	289.5
    		Elev.:	47.5
    		Flags:	ACQ-OK BITSYNC SUBSYNC CODELOCK 
    
    	SVid:	0
    		Azimuth:	0.0
    		Elev.:	0.0
    		Flags:	
    
    	SVid:	0
    		Azimuth:	0.0
    		Elev.:	0.0
    		Flags:	
    
    	SVid:	0
    		Azimuth:	0.0
    		Elev.:	0.0
    		Flags:	
    
    Measured Navigation Data:
    	X:	-2300370 m
    	Y:	-3638057 m
    	Z:	4691023 m
    	X vel.:	8191.375
    	Y vel.:	0.000
    	Z vel.:	8191.625
    	Flags:	ALTMODE0 GPS-ONLY-NAV VALIDATED ALTHOLD 
    	Pos. Mode:	>3-SV solution (Kalman filter)
    	HDOP:	4.4
    	GPS Week:	416
    	ToW:	428339.00 s
    	SVs:	5
    
    Clock Status
    	GPS Week:	1440
    	ToW:	428339.00 s
    	SVs:	5
    	Drift:	93940 Hz
    	Bias:	4747521 ns
    	Est. Time:	428338999 ms