HpeCore.xid.xml
14.7 KB
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<?xml version="1.0" encoding="UTF-8" ?>
<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd"
identity="HpeCore.xid.xml">
<title>HPE Core Definitions</title>
<comment>This file contains the core definitions used by the HPE.</comment>
<import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
<import ref="https://xid.location.studio/Tensor/V1.0.0/Common.xid.xml" local="Common.xid.xml" />
<import ref="http://xid.location.studio/GeoSpatial/V1.0/Shape.xid.xml" local="Shape.xid.xml" />
<namespace name="HPE">
<using namespace="Tensor"/>
<using namespace="GeoSpatial"/>
<!--
*******************************************************
Standard Definitions
*******************************************************
-->
<enum name="ProcessingStatus" type="Tensor.int8" default="undefined">
<comment>Status resulting from processing the observation data.</comment>
<literal name="success" value="1"/>
<literal name="undefined" value="0"/>
<literal name="did_not_converge" value="-1"/>
<literal name="not_enough_data" value="-2" />
<literal name="computation_error" value="-3" />
<literal name="parsing_error" value="-4" />
<literal name="not_found" value="-5" />
<literal name="unknown_error" value="-6" />
</enum>
<enum name="DynamicsProfile" type="Tensor.int8" default="undefined">
<literal name="undefined" value="0"/>
<literal name="stationary" value="1" />
<literal name="spacecraft" value="2" />
<literal name="aircraft" value="3" />
<literal name="marinecraft" value="4" />
<literal name="landcraft" value="5" />
<literal name="bicycle" value="6" />
<literal name="pedestrian" value="7" />
<literal name="pedestrian_running" value="8" />
<literal name="pedestrian_jogging" value="9" />
<literal name="pedestrian_walking" value="10" />
</enum>
<enum name="EstimateRanking" type="Tensor.int8" default="calcorder">
<literal name="undefined" value="0"/>
<literal name="accuracy" value="1" />
<literal name="veracity" value="2" />
<literal name="calcorder" value="3" />
</enum>
<!--
*******************************************************
Observation Datatypes
*******************************************************
-->
<enum name="ObservationType" type="Tensor.int8" default="undefined">
<literal name="undefined" value="0"/>
<literal name="SHAPE" value="1"/>
<literal name="MSISDN" value="6"/>
<literal name="CELLID" value="7"/>
<literal name="GSM_TA" value="8"/>
<literal name="GSM_NMR" value="9"/>
<literal name="RTT_3G" value="10"/>
<literal name="MR_3G" value="11"/>
<literal name="LTE_TA" value="12"/>
<literal name="LTE_RSSI" value="13"/>
<literal name="WIFI_RSS" value="14"/>
<literal name="WIFI_RNG" value="15"/>
<literal name="BLE_RSS" value="16"/>
<literal name="CELLULAR_GENERIC" value="17">
<comment>Observation type specifies a common cellular observation in generic units.</comment>
</literal>
<literal name="GPS_CODEPHASE_8" value="18">
<comment>Eight standard GPS Code phase measurements (81 bytes).</comment>
</literal>
<literal name="GPS_CODEPHASE_MIN6" value="19">
<comment>Eight minimum size GPS Code phase measurements (51 bytes).</comment>
</literal>
<literal name="GPS_CODEPHASE_MIN8" value="20">
<comment>Eight minimum size GPS Code phase measurements (65 bytes).</comment>
</literal>
<literal name="GNSS_PSEUDORANGE" value="21">
<comment>GNSS Pseudorange measurements.</comment>
</literal>
<literal name="WIFI_RSS_EXT" value="22"/>
</enum>
<array name="ObservationTypeArray" type="ObservationType"/>
<array name="StateVector" type="float64" size="8" >
<comment>
Defines the HPE standard state column vector, which is comprised of the following elements in cartesian coordinates:
X,Y,Z, Xdot, Ydot, Zdot, clk, clkrate.
Unless using a different coordinate reference frame, these values are typically in WGS-84 ECEF reference frame, where the
units are meters, meters per second. Clock terms (clk and clkrate) are also expressed in meters and meters per second,
to provide similar scalaing to physical units. To get to seconds and seconds per second device by the speed of light.
</comment>
</array>
<array name="CovarianceMatrix" type="Tensor.float64" size="64" >
<comment>
Defines a 8x8 Covariance matrix for the HPE standard state vector. This provides a linearized correlation
matrix for the estimated state vector. This is the high-fidelity format for providing Gaussian error information
passed between calculation processes.al units. To get to seconds and seconds per second device by the speed of light.
</comment>
</array>
<struct name="Observation" pack="true">
<comment>Bass type for all observation data</comment>
<elem name="type" type="ObservationType" multiplicity="1" rttd="true">
<comment>Identifies what type of observation this is.</comment>
</elem>
</struct>
<struct name="ObservationEpoch" type="Observation" pack="true">
<comment>Bass type for time based observation data</comment>
<elem name="epoch" type="datetime" multiplicity="1">
<comment>
Date the observation was attained. For GPS observatios (GPS_CODEPHASE_8, GPS_CODEPHASE_MIN6, GPS_CODEPHASE_MIN8, GNSS_PSEUDORANGE),
the epoch time has to have at least millisecond resolution. Fraction of a second epoch error can cause hundreds of meters of error
in position.
</comment>
</elem>
</struct>
<struct name="ObservationSet">
<comment>A set of observations for a single device covering multiple epochs.</comment>
<elem name="observations" type="Observation" multiplicity="0..*" polymorphic="true"/>
</struct>
<!-- ShapeObservation -->
<!-- Disable for now
<struct name="ShapeObservation" type="Observation" pack="true" rttkey="HPE.ObservationType.SHAPE">
<comment>Observation is comprised of a shape.</comment>
<elem name="shape" type="Shape" multiplicity="1" polymorphic="true">
<comment>
The shape can be any one of the supported shape types inheriting from the Shape base type.
</comment>
</elem>
</struct>
-->
<!--
*******************************************************
Reference Datatypes
*******************************************************
-->
<enum name="RefDataFormat" type="Tensor.int8" default="undefined">
<comment>Specifies the format of the Reference data.</comment>
<literal name="undefined" value="0"/>
<literal name="GPS_EPHEMERIS" value="1"/>
<literal name="GPS_ALMANAC" value="2"/>
<literal name="GLONASS_EPHEMERIS" value="3"/>
<literal name="GALILEO_EPHEMERIS" value="4"/>
<literal name="CELLULAR" value="5"/>
<literal name="WIFI_AP" value="6"/>
</enum>
<array name="RefDataFormatArray" type="RefDataFormat"/>
<struct name="ReferenceData" pack="true">
<comment>Bass structure for all reference data types.</comment>
<elem name="format" type="RefDataFormat" multiplicity="1" rttd="true">
<comment>Identifies the format/type of the reference data.</comment>
</elem>
</struct>
<struct name="ReferenceDataSet">
<comment>A set of reference data.</comment>
<elem name ="id" type="UUID" multiplicity="1" />
<elem name="records" type="ReferenceData" multiplicity="1..*" polymorphic="true"/>
</struct>
<!--
*******************************
* StateInfo Type Definition
*******************************
-->
<enum name="StateSource" type="Tensor.uint8" default="undefined">
<comment>Source enumeration defines the source of the state information.</comment>
<literal name="undefined" value="0">
<comment>Source is not defined or is unknown.</comment>
</literal>
<literal name="gnss" value="1">
<comment>Source is GNSS.</comment>
</literal>
<literal name="cellular" value="2">
<comment>Source is cellular network location.</comment>
</literal>
<literal name="wifi" value="3">
<comment>Source is WiFi location.</comment>
</literal>
<literal name="bluetooth" value="4">
<comment>Source is bluetooth or bluetooth beaconning.</comment>
</literal>
<literal name="rtls" value="5">
<comment>Source is real-time locating sytem (RTLS).</comment>
</literal>
<literal name="inertial" value="6">
<comment>Source is inertial or sensor fusion.</comment>
</literal>
<literal name="hybrid" value="7">
<comment>Source is hybrid comprised of multiple datatypes (not sensor fusion).</comment>
</literal>
<literal name="previous" value="8">
<comment>Previous state calculated by the ILP/HPE engine.</comment>
</literal>
</enum>
<struct name="StateInfo">
<comment>StateInfo provides a positional definition.</comment>
<comment>
Used in initializaton and position submission type interfaces.
</comment>
<elem name="epoch" type="datetime" multiplicity="1" />
<elem name="confidence" type="float32" multiplicity="1">
<comment>Confidence of position shape. Valid range is 0.0 to 1.0</comment>
</elem>
<elem name="shape" multiplicity="1" type="Shape" polymorphic="true" >
<comment>
Position. Polymorphic type, see specializations
from Shape for details.
</comment>
</elem>
<elem name="speed" type="float32" multiplicity="0..1">
<tag name="unit" value="meters/sec"/>
<comment>speed of device in meters/sec</comment>
</elem>
<elem name="azimuth" type="float32" multiplicity="0..1">
<tag name="unit" value="degrees"/>
<comment>Azimuth heading of the device in degrees (true North)</comment>
</elem>
<elem name="source" type="StateSource" multiplicity="0..1" default="0">
<comment>Source field defines the source of the state information. If not specified, value is undefined. Defining the source of the state information
assists the calculation processing by characterizing the nature of the position data relative to associated observations.
</comment>
</elem>
</struct>
<!--
*******************************************************
Estimate Results
*******************************************************
-->
<array name="StringIdentifier" type="int8" size="16">
<comment>String identifier defines a short fixed string identifier.</comment>
</array>
<struct name="Estimate">
<comment>
Estimate is the result provided by positioning calculators at the completion
of a calculation.
</comment>
<elem name="result" type="ProcessingStatus" multiplicity="1">
<comment>
The result of the data processing used to produce the estimate.
If not success, ignore the remainder of the estimate information.
</comment>
</elem>
<elem name="source" type="string" multiplicity="1">
<comment>Estimate source identifier. If not defined set to "".</comment>
</elem>
<elem name="obstype" type="ObservationType" multiplicity="1">
<comment>The last observation type used to create the estimate.</comment>
</elem>
<elem name="tic" type="uint32">
<comment>Tic count of the estimate. Set to zero if not known.</comment>
</elem>
<elem name="epoch" type="datetime" multiplicity="1">
<comment>Epoch defines the point in time for which the estimate applies.</comment>
</elem>
<elem name="veracity" type="float32" multiplicity="1" default="-1">
<comment>
Veracity defines the validity of the measurement in the range between 0 and 1.
A high score means the estimate is deemed valid and more reliable than a lower score.
If no veracity scoring is performed, this will have a value of -1.
</comment>
</elem>
<elem name="confidence" type="float32" multiplicity="1">
<comment>The estimate confidence. Valid range is 0.0 to 1.0</comment>
</elem>
<elem name="shape" type="Shape" multiplicity="1" polymorphic="true">
<comment>
The estimate shape result. The particular shape is determined by the
preferred shapes specified in the BeginCalculation.
</comment>
</elem>
</struct>
<!-- eventually may be able to support variable sized elements
<array name="EstimateArray" type="Estimate">
<comment>
HPE Estimates are reported in an array providing the requested formats.
</comment>
</array>
-->
</namespace>
</specification>