-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathacquisition.ksy
241 lines (230 loc) · 6.05 KB
/
acquisition.ksy
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
# Copyright (C) 2015-2023 Swift Navigation Inc.
# Contact: https://support.swiftnav.com
#
# This source is subject to the license found in the file 'LICENSE' which must
# be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
#
# Satellite acquisition messages from the device.
#
# Automatically generated from spec/yaml/swiftnav/sbp/acquisition.yaml with generate.py.
# Do not modify by hand!
meta:
id: acquisition
endian: le
imports: [ gnss ]
types:
msg_acq_result:
doc: |
This message describes the results from an attempted GPS signal
acquisition search for a satellite PRN over a code phase/carrier
frequency range. It contains the parameters of the point in the
acquisition search space with the best carrier-to-noise (CN/0) ratio.
seq:
- id: cn0
doc: |
CN/0 of best point
type: f4
- id: cp
doc: |
Code phase of best point
type: f4
- id: cf
doc: |
Carrier frequency of best point
type: f4
- id: sid
doc: |
GNSS signal for which acquisition was attempted
type: gnss::gnss_signal
msg_acq_result_dep_c:
doc: |
Deprecated.
seq:
- id: cn0
doc: |
CN/0 of best point
type: f4
- id: cp
doc: |
Code phase of best point
type: f4
- id: cf
doc: |
Carrier frequency of best point
type: f4
- id: sid
doc: |
GNSS signal for which acquisition was attempted
type: gnss::gnss_signal_dep
msg_acq_result_dep_b:
doc: |
Deprecated.
seq:
- id: snr
doc: |
SNR of best point. Currently in arbitrary SNR points, but will be in
units of dB Hz in a later revision of this message.
type: f4
- id: cp
doc: |
Code phase of best point
type: f4
- id: cf
doc: |
Carrier frequency of best point
type: f4
- id: sid
doc: |
GNSS signal for which acquisition was attempted
type: gnss::gnss_signal_dep
msg_acq_result_dep_a:
doc: |
Deprecated.
seq:
- id: snr
doc: |
SNR of best point. Currently dimensionless, but will have units of
dB Hz in the revision of this message.
type: f4
- id: cp
doc: |
Code phase of best point
type: f4
- id: cf
doc: |
Carrier frequency of best point
type: f4
- id: prn
doc: |
PRN-1 identifier of the satellite signal for which acquisition was
attempted
type: u1
acq_sv_profile:
doc: |
Profile for a specific SV for debugging purposes. The message describes
SV profile during acquisition time. The message is used to debug and
measure the performance.
seq:
- id: job_type
doc: |
SV search job type (deep, fallback, etc)
type: u1
- id: status
doc: |
Acquisition status 1 is Success, 0 is Failure
type: u1
- id: cn0
doc: |
CN0 value. Only valid if status is '1'
type: u2
- id: int_time
doc: |
Acquisition integration time
type: u1
- id: sid
doc: |
GNSS signal for which acquisition was attempted
type: gnss::gnss_signal
- id: bin_width
doc: |
Acq frequency bin width
type: u2
- id: timestamp
doc: |
Timestamp of the job complete event
type: u4
- id: time_spent
doc: |
Time spent to search for sid.code
type: u4
- id: cf_min
doc: |
Doppler range lowest frequency
type: s4
- id: cf_max
doc: |
Doppler range highest frequency
type: s4
- id: cf
doc: |
Doppler value of detected peak. Only valid if status is '1'
type: s4
- id: cp
doc: |
Codephase of detected peak. Only valid if status is '1'
type: u4
acq_sv_profile_dep:
doc: |
Deprecated.
seq:
- id: job_type
doc: |
SV search job type (deep, fallback, etc)
type: u1
- id: status
doc: |
Acquisition status 1 is Success, 0 is Failure
type: u1
- id: cn0
doc: |
CN0 value. Only valid if status is '1'
type: u2
- id: int_time
doc: |
Acquisition integration time
type: u1
- id: sid
doc: |
GNSS signal for which acquisition was attempted
type: gnss::gnss_signal_dep
- id: bin_width
doc: |
Acq frequency bin width
type: u2
- id: timestamp
doc: |
Timestamp of the job complete event
type: u4
- id: time_spent
doc: |
Time spent to search for sid.code
type: u4
- id: cf_min
doc: |
Doppler range lowest frequency
type: s4
- id: cf_max
doc: |
Doppler range highest frequency
type: s4
- id: cf
doc: |
Doppler value of detected peak. Only valid if status is '1'
type: s4
- id: cp
doc: |
Codephase of detected peak. Only valid if status is '1'
type: u4
msg_acq_sv_profile:
doc: |
The message describes all SV profiles during acquisition time. The
message is used to debug and measure the performance.
seq:
- id: acq_sv_profile
doc: |
SV profiles during acquisition time
type: acq_sv_profile
repeat: eos
msg_acq_sv_profile_dep:
doc: |
Deprecated.
seq:
- id: acq_sv_profile
doc: |
SV profiles during acquisition time
type: acq_sv_profile_dep
repeat: eos