Skip to content

Commit 4e84a5f

Browse files
StefanCosteaFoniksFox
authored andcommitted
1DOF DPC
1 parent 5c729e9 commit 4e84a5f

2 files changed

Lines changed: 112 additions & 1 deletion

File tree

boards/LCU/LCU_measurements.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,15 @@
152152
"podUnits": "m",
153153
"displayUnits": "mm"
154154
},
155+
155156
{
156157
"id": "local_airgap_3",
157158
"name": "Airgap 3",
158159
"type": "float32",
159160
"podUnits": "m",
160161
"displayUnits": "mm"
161162
},
163+
162164
{
163165
"id": "local_airgap_4",
164166
"name": "Airgap 4",
@@ -201,6 +203,7 @@
201203
"name": "Fe 0",
202204
"type": "float32"
203205
},
206+
204207
{
205208
"id": "Fe_1",
206209
"name": "Fe 1",
@@ -291,6 +294,7 @@
291294
"name": "Zz 1",
292295
"type": "float32"
293296
},
297+
294298
{
295299
"id": "Zz_2",
296300
"name": "Zz 2",
@@ -333,6 +337,7 @@
333337
"name": "A 3",
334338
"type": "float32"
335339
},
340+
336341
{
337342
"id": "A_4",
338343
"name": "A 4",
@@ -399,5 +404,85 @@
399404
"id": "random_period_ms",
400405
"name": "Random Period (ms)",
401406
"type": "uint32"
407+
},
408+
{
409+
"id": "loop_total_us",
410+
"name": "Loop Total (us)",
411+
"type": "uint32"
412+
},
413+
{
414+
"id": "loop_total_max_us",
415+
"name": "Loop Total Max (us)",
416+
"type": "uint32"
417+
},
418+
{
419+
"id": "communications_us",
420+
"name": "Communications Update (us)",
421+
"type": "uint32"
422+
},
423+
{
424+
"id": "fault_check_us",
425+
"name": "Fault Check (us)",
426+
"type": "uint32"
427+
},
428+
{
429+
"id": "state_machine_us",
430+
"name": "State Machine Update (us)",
431+
"type": "uint32"
432+
},
433+
{
434+
"id": "scheduler_us",
435+
"name": "Scheduler Update (us)",
436+
"type": "uint32"
437+
},
438+
{
439+
"id": "mdma_us",
440+
"name": "MDMA Update (us)",
441+
"type": "uint32"
442+
},
443+
{
444+
"id": "protections_us",
445+
"name": "Protections Evaluate (us)",
446+
"type": "uint32"
447+
},
448+
{
449+
"id": "diagnostics_us",
450+
"name": "Diagnostics Flush (us)",
451+
"type": "uint32"
452+
},
453+
{
454+
"id": "sensor_update_us",
455+
"name": "Sensor Update (us)",
456+
"type": "uint32"
457+
},
458+
{
459+
"id": "dpc_period_us",
460+
"name": "DPC Period (us)",
461+
"type": "uint32"
462+
},
463+
{
464+
"id": "dpc_period_max_us",
465+
"name": "DPC Period Max (us)",
466+
"type": "uint32"
467+
},
468+
{
469+
"id": "dpc_total_us",
470+
"name": "DPC Total (us)",
471+
"type": "uint32"
472+
},
473+
{
474+
"id": "dpc_total_max_us",
475+
"name": "DPC Total Max (us)",
476+
"type": "uint32"
477+
},
478+
{
479+
"id": "dpc_inference_us",
480+
"name": "DPC Inference (us)",
481+
"type": "uint32"
482+
},
483+
{
484+
"id": "dpc_inference_max_us",
485+
"name": "DPC Inference Max (us)",
486+
"type": "uint32"
402487
}
403488
]

boards/LCU/packets.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,31 @@
119119
"period_type": "us",
120120
"period": 500.0,
121121
"socket": "control_station_udp"
122+
},
123+
{
124+
"type": "data",
125+
"name": "Timing Metrics",
126+
"variables": [
127+
"loop_total_us",
128+
"loop_total_max_us",
129+
"communications_us",
130+
"fault_check_us",
131+
"state_machine_us",
132+
"scheduler_us",
133+
"mdma_us",
134+
"protections_us",
135+
"diagnostics_us",
136+
"sensor_update_us",
137+
"dpc_period_us",
138+
"dpc_period_max_us",
139+
"dpc_total_us",
140+
"dpc_total_max_us",
141+
"dpc_inference_us",
142+
"dpc_inference_max_us"
143+
],
144+
"id": 9522,
145+
"period_type": "us",
146+
"period": 500.0,
147+
"socket": "control_station_udp"
122148
}
123-
]
149+
]

0 commit comments

Comments
 (0)