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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>org.freedesktop.Gypsy.Position</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="Gypsy Reference Manual">
<link rel="up" href="gypsy-client-interfaces.html" title="Gypsy Client Interface">
<link rel="prev" href="Device.html" title="org.freedesktop.Gypsy.Device">
<link rel="next" href="Satellite.html" title="org.freedesktop.Gypsy.Satellite">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="reference" href="rn01.html" title="Gypsy Overview">
<link rel="reference" href="rn02.html" title="Tutorials">
<link rel="chapter" href="ch01.html" title="Programming Gypsy With Python">
<link rel="reference" href="gypsy-server-interfaces.html" title="Gypsy Server Interface">
<link rel="reference" href="gypsy-client-interfaces.html" title="Gypsy Client Interface">
<link rel="reference" href="rn05.html" title="LibGypsy API Reference">
<link rel="chapter" href="ch02.html" title="Gypsy-Daemon Control">
<link rel="chapter" href="ch03.html" title="GPS Data Objects">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="Device.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gypsy-client-interfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Gypsy Reference Manual</th>
<td><a accesskey="n" href="Satellite.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582421" class="shortcut">Top</a>
 | 
<a href="#id2582517" class="shortcut">Description</a>
 | 
<a href="#id2582485" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id2582502" class="shortcut">Properties</a>
 | 
<a href="#id2582462" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="Position"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2582421"></a><span class="refentrytitle">org.freedesktop.Gypsy.Position</span>
</h2>
<p>org.freedesktop.Gypsy.Position — Position interface</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis">GetPosition (out 'i'fields,
out 'i'timestamp,
out 'd'latitude,
out 'd'longitude,
out 'd'altitude)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2582462"></a><h2>Signals</h2>
<pre class="synopsis">PositionChanged ('i'fields,
'i'timestamp,
'd'latitude,
'd'longitude,
'd'altitude)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2582485"></a><h2>Implemented Interfaces</h2>
<p>org.freedesktop.Gypsy.Position implements
org.freedesktop.DBus.Introspectable,
org.freedesktop.DBus.Properties
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2582502"></a><h2>Properties</h2>
<pre class="synopsis"></pre>
</div>
<div class="refsect1" lang="en">
<a name="id2582517"></a><h2>Description</h2>
<p>
</p>
<p>
Position objects are used to obtain the current position (longitude,
latitude, altitude) of the GPS. The current position can be obtained
with <code class="function">GetPosition()</code>, and <code class="literal">PositionChanged</code>
signals are emitted when the position changes.
</p>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2582553"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2580783"></a><h3>
<a name="Position.GetPosition"></a>GetPosition ()</h3>
<a class="indexterm" name="id2580794"></a><pre class="programlisting">GetPosition (out 'i' fields,
out 'i' timestamp,
out 'd' latitude,
out 'd' longitude,
out 'd' altitude)</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>fields</code></em>:</span></td>
<td><p>Bitfield specifying what fields are set. 1: None, 2:
Longitude, 4: Latitude, 8: Altitude.</p></td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>timestamp</code></em>:</span></td>
<td><p>The timestamp that this position was
determined.</p></td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>latitude</code></em>:</span></td>
<td><p>The latitude in fractional degrees.</p></td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>longitude</code></em>:</span></td>
<td><p>The longitude in fractional degrees.</p></td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>altitude</code></em>:</span></td>
<td><p>The altitude in metres.</p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2580913"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2580924"></a><h3>
<a name="Position::PositionChanged"></a>The PositionChanged signal</h3>
<a class="indexterm" name="id2580935"></a><pre class="programlisting">PositionChanged ('i' fields,
'i' timestamp,
'd' latitude,
'd' longitude,
'd' altitude)</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>fields</code></em>:</span></td>
<td>Bitfield specifying what fields are set. 1: None, 2:
Longitude, 4: Latitude, 8: Altitude.</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>timestamp</code></em>:</span></td>
<td>The timestamp that this position was determined.</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>latitude</code></em>:</span></td>
<td>The latitude in fractional degrees.</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>longitude</code></em>:</span></td>
<td>The longitude in fractional degrees.</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>altitude</code></em>:</span></td>
<td>The altitude in metres.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2515036"></a><h2>Property Details</h2>
</div>
</div>
</body>
</html>
|