summaryrefslogtreecommitdiff
path: root/www/xgps-sample.html
blob: 5b76481177217a830f312c40b089cf423d4b0a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE HTML>
<html>
<head>
   <title>The xgps client</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta name="Author" content="Eric S. Raymond">
   <meta name="Revised" content="9 April 2015">
   <meta name="robots" content="index,follow">
   <meta name="Description" content="xgps, a sample gpsd client in C">
   <meta name="Keywords" content="GPS, xgps, gpsdd">
   <link rel="stylesheet" href="main.css" type="text/css" media='all'>
   <meta name="MSSmartTagsPreventParsing" content="TRUE">
</head>
<body>

<div id="Header">
The xgps client
</div>

<div id="Menu">
    <img src="gpsd-logo-small.png" alt="Small gpsd Logo"><br>
    <a href="index.html">Home</a><br>
    <a href="index.html#news">News</a><br>
    <a href="index.html#downloads">Downloads</a><br>
    <a href="index.html#mailing-lists">Mailing lists</a><br>
    <a href="index.html#documentation">Documentation</a><br>
    <a href="faq.html">FAQ</a><br>
    Screenshots<br>
    <a href="index.html#recipes">Recipes</a><br>
    <a href="index.html#others">Other GPSDs</a><br>
    <a href="hardware.html">Hardware</a><br>
    <a href="for-vendors.html">For GPS Vendors</a><br>
    <a href="wishlist.html">Wish List</a><br>
    <a href="hall-of-shame.html">Hall of Shame</a><br>
    <a href="troubleshooting.html">Troubleshooting Guide</a><br>
    <a href="hacking.html">Hacker's Guide</a><br>
    <a href="protocol-transition.html">Application Compatibility</a>
    <a href="references.html">References</a><br>
    <a href="history.html">History</a><br>
    <a href="future.html">Future</a><br>

    <div>&nbsp;</div>

    <a href='http://www.catb.org/hacker-emblem/'><img
    src='http://www.catb.org/hacker-emblem/glider.png'
    alt='hacker emblem'></a><br>

    <script type="text/javascript" src="https://www.openhub.net/p/3944/widgets/project_thin_badge.js"></script>

    <hr>
    <script type="text/javascript"><!--
    google_ad_client = "pub-1458586455084261";
    google_ad_width = 160;
    google_ad_height = 600;
    google_ad_format = "160x600_as";
    google_ad_type = "text";
    google_ad_channel = "";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <hr>

    <a href="http://validator.w3.org/check/referer"><img
          src="http://www.w3.org/Icons/valid-html401"
          alt="Valid HTML 4.01!" height="31" width="88"></a>
</div>

<div id="Content">

<p>Included in the package is a sample client called <code>xgps</code>. It
connects to a <code>gpsd</code> at any host you tell it to, and
requests raw data, so that it can display the current location of all
visible GPS satellites your receiver 'sees'.</p>

<p><img src="gpsd1.png" alt="[image] The GPS receiver has no fix yet."></p>

<p>The GPS receiver has not yet acquired a fix.  The receiver has not
tracked the grey satellites, but knows where they should be.</p>

<p>The next image shows a good fix. A 3d fix provides latitude, longitude
as well as altitude data, and requires at least four good satellites. A
2d fix does not give altitude, but only requires 3 satellites.</p>

<p><img src="gpsd2.png" alt="[image] The GPS receiver has a good 3d fix."></p>

<p>Depending on your GPS receiver, the additional satellites may be used
to determine location with better accuracy.</p>

<hr>
<script src="datestamp.js" type='text/javascript'></script>
</div>
</body>
</html>