-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_test.go
481 lines (477 loc) · 17.5 KB
/
example_test.go
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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
package vlp16
import (
"os"
"gotest.tools/v3/assert"
)
func exampleRawPacket(t assert.TestingT) *RawPacket {
data, err := os.ReadFile("testdata/packet.bin")
assert.NilError(t, err)
var rawPacket RawPacket
copy(rawPacket[:], data)
return &rawPacket
}
func examplePacket() *Packet {
return &Packet{
Blocks: [12]Block{
{
Azimuth: 0x2866,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ff, Reflectivity: 0x3},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x310, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ac, Reflectivity: 0x39},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2bc, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2bd, Reflectivity: 0x45},
{Distance: 0x2be, Reflectivity: 0x0},
{Distance: 0x2c8, Reflectivity: 0x57},
{Distance: 0x2a9, Reflectivity: 0x23},
{Distance: 0x2c5, Reflectivity: 0x32},
{Distance: 0x2c3, Reflectivity: 0x1d},
{Distance: 0x2d9, Reflectivity: 0x4a},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x30f, Reflectivity: 0x7},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x30e, Reflectivity: 0x46},
{Distance: 0x0, Reflectivity: 0x4},
{Distance: 0x2ac, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c4, Reflectivity: 0x41},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ba, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c6, Reflectivity: 0x3e},
{Distance: 0x2b5, Reflectivity: 0x26},
{Distance: 0x2d6, Reflectivity: 0x39},
{Distance: 0x2c6, Reflectivity: 0x18},
{Distance: 0x2d3, Reflectivity: 0x32},
},
},
{
Azimuth: 0x288e,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x0, Reflectivity: 0x64},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x318, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ad, Reflectivity: 0x3e},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c4, Reflectivity: 0x4f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c1, Reflectivity: 0x41},
{Distance: 0x2dc, Reflectivity: 0x0},
{Distance: 0x2cc, Reflectivity: 0x57},
{Distance: 0x2b8, Reflectivity: 0x25},
{Distance: 0x2d7, Reflectivity: 0x46},
{Distance: 0x2f9, Reflectivity: 0x21},
{Distance: 0x2d6, Reflectivity: 0x44},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31a, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31c, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ac, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2ca, Reflectivity: 0x5b},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c7, Reflectivity: 0x54},
{Distance: 0x2dc, Reflectivity: 0x0},
{Distance: 0x2c9, Reflectivity: 0x63},
{Distance: 0x2b7, Reflectivity: 0x23},
{Distance: 0x2e1, Reflectivity: 0x55},
{Distance: 0x303, Reflectivity: 0x25},
{Distance: 0x2d6, Reflectivity: 0x51},
},
},
{
Azimuth: 0x28b6,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31c, Reflectivity: 0x45},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31a, Reflectivity: 0x54},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ae, Reflectivity: 0x39},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c2, Reflectivity: 0x4f},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c7, Reflectivity: 0x53},
{Distance: 0x2c8, Reflectivity: 0x0},
{Distance: 0x2c9, Reflectivity: 0x57},
{Distance: 0x2b5, Reflectivity: 0x24},
{Distance: 0x2d3, Reflectivity: 0x48},
{Distance: 0x308, Reflectivity: 0x33},
{Distance: 0x2dd, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31f, Reflectivity: 0x41},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x31a, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2b4, Reflectivity: 0x34},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c4, Reflectivity: 0x4d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c6, Reflectivity: 0x49},
{Distance: 0x2d0, Reflectivity: 0x0},
{Distance: 0x2cb, Reflectivity: 0x59},
{Distance: 0x2bc, Reflectivity: 0x27},
{Distance: 0x2d8, Reflectivity: 0x43},
{Distance: 0x312, Reflectivity: 0x3b},
{Distance: 0x2df, Reflectivity: 0x44},
},
},
{
Azimuth: 0x28de,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x321, Reflectivity: 0x41},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x31c, Reflectivity: 0x51},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2b6, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c8, Reflectivity: 0x3f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c3, Reflectivity: 0x41},
{Distance: 0x2ce, Reflectivity: 0x0},
{Distance: 0x2cf, Reflectivity: 0x44},
{Distance: 0x2c1, Reflectivity: 0x2d},
{Distance: 0x2d0, Reflectivity: 0x3a},
{Distance: 0x319, Reflectivity: 0x2e},
{Distance: 0x2dd, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x327, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x320, Reflectivity: 0x51},
{Distance: 0x0, Reflectivity: 0x4},
{Distance: 0x2b4, Reflectivity: 0x39},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c9, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c1, Reflectivity: 0x3f},
{Distance: 0x2ce, Reflectivity: 0x3},
{Distance: 0x2cd, Reflectivity: 0x47},
{Distance: 0x2c6, Reflectivity: 0x33},
{Distance: 0x2d2, Reflectivity: 0x3f},
{Distance: 0x321, Reflectivity: 0x30},
{Distance: 0x2d5, Reflectivity: 0x38},
},
},
{
Azimuth: 0x2906,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x322, Reflectivity: 0x43},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x328, Reflectivity: 0x48},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2b5, Reflectivity: 0x3e},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c2, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c2, Reflectivity: 0x49},
{Distance: 0x0, Reflectivity: 0x64},
{Distance: 0x2c5, Reflectivity: 0x49},
{Distance: 0x2c4, Reflectivity: 0x40},
{Distance: 0x2db, Reflectivity: 0x46},
{Distance: 0x31a, Reflectivity: 0x3e},
{Distance: 0x2d3, Reflectivity: 0x3f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x325, Reflectivity: 0x41},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x328, Reflectivity: 0x48},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ba, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2be, Reflectivity: 0x4f},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c4, Reflectivity: 0x4e},
{Distance: 0x2d1, Reflectivity: 0x29},
{Distance: 0x2c7, Reflectivity: 0x4b},
{Distance: 0x2c4, Reflectivity: 0x40},
{Distance: 0x2d2, Reflectivity: 0x3e},
{Distance: 0x320, Reflectivity: 0x3e},
{Distance: 0x2d7, Reflectivity: 0x3b},
},
},
{
Azimuth: 0x292e,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x32b, Reflectivity: 0x41},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x324, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2bf, Reflectivity: 0x40},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c0, Reflectivity: 0x3f},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c3, Reflectivity: 0x41},
{Distance: 0x2d1, Reflectivity: 0x2a},
{Distance: 0x2ca, Reflectivity: 0x3c},
{Distance: 0x2c4, Reflectivity: 0x43},
{Distance: 0x2cd, Reflectivity: 0x35},
{Distance: 0x318, Reflectivity: 0x3b},
{Distance: 0x2dd, Reflectivity: 0x35},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x32f, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x326, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x4},
{Distance: 0x2be, Reflectivity: 0x3b},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2c6, Reflectivity: 0x35},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c5, Reflectivity: 0x3c},
{Distance: 0x2d1, Reflectivity: 0x2d},
{Distance: 0x2cc, Reflectivity: 0x3c},
{Distance: 0x2ca, Reflectivity: 0x43},
{Distance: 0x2cf, Reflectivity: 0x31},
{Distance: 0x310, Reflectivity: 0x12},
{Distance: 0x2da, Reflectivity: 0x30},
},
},
{
Azimuth: 0x2956,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x331, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x330, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2bd, Reflectivity: 0x40},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2ca, Reflectivity: 0x33},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c3, Reflectivity: 0x3a},
{Distance: 0x2d1, Reflectivity: 0x3f},
{Distance: 0x2ce, Reflectivity: 0x3c},
{Distance: 0x2d1, Reflectivity: 0x4c},
{Distance: 0x2de, Reflectivity: 0x35},
{Distance: 0x2e5, Reflectivity: 0x6},
{Distance: 0x2db, Reflectivity: 0x31},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x32d, Reflectivity: 0x3f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x334, Reflectivity: 0x4f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c1, Reflectivity: 0x40},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2ce, Reflectivity: 0x3b},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2c9, Reflectivity: 0x3c},
{Distance: 0x2d5, Reflectivity: 0x3c},
{Distance: 0x2ce, Reflectivity: 0x39},
{Distance: 0x2d0, Reflectivity: 0x4e},
{Distance: 0x2e0, Reflectivity: 0x38},
{Distance: 0x2e9, Reflectivity: 0x8},
{Distance: 0x2dd, Reflectivity: 0x35},
},
},
{
Azimuth: 0x297d,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x333, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x334, Reflectivity: 0x51},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c5, Reflectivity: 0x40},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2cc, Reflectivity: 0x45},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2d3, Reflectivity: 0x3d},
{Distance: 0x2db, Reflectivity: 0x28},
{Distance: 0x2d1, Reflectivity: 0x45},
{Distance: 0x2cf, Reflectivity: 0x53},
{Distance: 0x2e0, Reflectivity: 0x43},
{Distance: 0x2e5, Reflectivity: 0x4},
{Distance: 0x2e3, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x339, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x32e, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c9, Reflectivity: 0x45},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2cc, Reflectivity: 0x57},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2d2, Reflectivity: 0x4e},
{Distance: 0x2de, Reflectivity: 0x13},
{Distance: 0x2d8, Reflectivity: 0x54},
{Distance: 0x2d3, Reflectivity: 0x53},
{Distance: 0x2e4, Reflectivity: 0x55},
{Distance: 0x2fc, Reflectivity: 0x5},
{Distance: 0x2e8, Reflectivity: 0x4b},
},
},
{
Azimuth: 0x29a5,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x33a, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x336, Reflectivity: 0x51},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c9, Reflectivity: 0x45},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2ce, Reflectivity: 0x51},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2cd, Reflectivity: 0x58},
{Distance: 0x2dd, Reflectivity: 0x23},
{Distance: 0x2d9, Reflectivity: 0x55},
{Distance: 0x2d8, Reflectivity: 0x4e},
{Distance: 0x2dd, Reflectivity: 0x52},
{Distance: 0x0, Reflectivity: 0x64},
{Distance: 0x2ea, Reflectivity: 0x52},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x33a, Reflectivity: 0x3a},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x33c, Reflectivity: 0x4f},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c7, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2d4, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2cf, Reflectivity: 0x51},
{Distance: 0x2af, Reflectivity: 0x19},
{Distance: 0x2da, Reflectivity: 0x57},
{Distance: 0x2da, Reflectivity: 0x4b},
{Distance: 0x2e2, Reflectivity: 0x46},
{Distance: 0x309, Reflectivity: 0x9},
{Distance: 0x2e2, Reflectivity: 0x4b},
},
},
{
Azimuth: 0x29cc,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x339, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x344, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2c9, Reflectivity: 0x47},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2d2, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2d3, Reflectivity: 0x3d},
{Distance: 0x2d8, Reflectivity: 0x50},
{Distance: 0x2d2, Reflectivity: 0x3b},
{Distance: 0x2da, Reflectivity: 0x4b},
{Distance: 0x2e5, Reflectivity: 0x3f},
{Distance: 0x311, Reflectivity: 0x8},
{Distance: 0x2de, Reflectivity: 0x3b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x33e, Reflectivity: 0x3a},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x344, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ca, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2cd, Reflectivity: 0x3c},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2d5, Reflectivity: 0x3d},
{Distance: 0x2e1, Reflectivity: 0x3f},
{Distance: 0x2d7, Reflectivity: 0x48},
{Distance: 0x2d6, Reflectivity: 0x49},
{Distance: 0x2e3, Reflectivity: 0x36},
{Distance: 0x30f, Reflectivity: 0x7},
{Distance: 0x2e5, Reflectivity: 0x3e},
},
},
{
Azimuth: 0x29f5,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x344, Reflectivity: 0x3a},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x340, Reflectivity: 0x4c},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ce, Reflectivity: 0x30},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2ce, Reflectivity: 0x32},
{Distance: 0x0, Reflectivity: 0x1},
{Distance: 0x2d8, Reflectivity: 0x35},
{Distance: 0x2e9, Reflectivity: 0x3c},
{Distance: 0x2d4, Reflectivity: 0x39},
{Distance: 0x2d9, Reflectivity: 0x29},
{Distance: 0x2e0, Reflectivity: 0x35},
{Distance: 0x307, Reflectivity: 0x4},
{Distance: 0x2e7, Reflectivity: 0x36},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x345, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x346, Reflectivity: 0x48},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2cc, Reflectivity: 0x2d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2d6, Reflectivity: 0x35},
{Distance: 0x0, Reflectivity: 0x4d},
{Distance: 0x2d4, Reflectivity: 0x36},
{Distance: 0x2ea, Reflectivity: 0x3b},
{Distance: 0x2df, Reflectivity: 0x3f},
{Distance: 0x2d5, Reflectivity: 0x15},
{Distance: 0x2e2, Reflectivity: 0x32},
{Distance: 0x2ff, Reflectivity: 0x5},
{Distance: 0x2eb, Reflectivity: 0x38},
},
},
{
Azimuth: 0x2a1d,
Flag: 0xeeff,
Channels: [32]Channel{
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x346, Reflectivity: 0x38},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x34a, Reflectivity: 0x4b},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2cd, Reflectivity: 0x33},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2da, Reflectivity: 0x36},
{Distance: 0x2f4, Reflectivity: 0x28},
{Distance: 0x2d5, Reflectivity: 0x3c},
{Distance: 0x2e4, Reflectivity: 0x3b},
{Distance: 0x2de, Reflectivity: 0x3c},
{Distance: 0x2dd, Reflectivity: 0x41},
{Distance: 0x2ea, Reflectivity: 0x35},
{Distance: 0x301, Reflectivity: 0x5},
{Distance: 0x2e9, Reflectivity: 0x35},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x344, Reflectivity: 0x3a},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x34e, Reflectivity: 0x48},
{Distance: 0x0, Reflectivity: 0x2},
{Distance: 0x2ce, Reflectivity: 0x3d},
{Distance: 0x0, Reflectivity: 0x3},
{Distance: 0x2da, Reflectivity: 0x39},
{Distance: 0x2c4, Reflectivity: 0x29},
{Distance: 0x2dc, Reflectivity: 0x36},
{Distance: 0x2d5, Reflectivity: 0x28},
{Distance: 0x2dd, Reflectivity: 0x47},
{Distance: 0x2bf, Reflectivity: 0x2e},
{Distance: 0x2ef, Reflectivity: 0x38},
{Distance: 0x304, Reflectivity: 0x5},
{Distance: 0x2eb, Reflectivity: 0x3a},
},
},
},
Timestamp: 0x9eea6b9b,
ReturnMode: 0x37,
ProductID: 0x22,
}
}