Add alignment state indicator and pluggable data sources
- AlignmentThresholds dataclass + VisionEngine.__init__ for injection - alignment_state computed per snapshot (ready/aligning/fault) - MonitorPlot circle/vector/legend driven by state color - Status dot + label moved into POSITION VISUALIZATION panel header - CsvSessionSource + DemoSource pluggable DataSource layer - Synthetic DATA/ready/ and DATA/aligning/ sessions for visual testing - Fix CAM 3 label placement (below circle, not above)
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# saved_on,DATA
|
||||
# master_file,R10709P0.CSV
|
||||
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=1 BIT=4 POINTS=51 MODE=ORDINARY STATUS=ERROR
|
||||
# source,BOARD_REMOTE
|
||||
# spi,SPI1
|
||||
# tick_ms,207407
|
||||
# bit,4
|
||||
# edge_mode,ORDINARY
|
||||
# points,51
|
||||
x,y
|
||||
240,28
|
||||
161,30
|
||||
206,31
|
||||
51,32
|
||||
278,32
|
||||
8,48
|
||||
49,50
|
||||
282,51
|
||||
207,62
|
||||
272,81
|
||||
122,86
|
||||
42,96
|
||||
80,98
|
||||
99,98
|
||||
209,98
|
||||
134,105
|
||||
247,110
|
||||
152,112
|
||||
35,121
|
||||
161,123
|
||||
292,127
|
||||
56,128
|
||||
237,128
|
||||
94,143
|
||||
268,162
|
||||
207,174
|
||||
221,182
|
||||
85,195
|
||||
2,200
|
||||
217,211
|
||||
42,215
|
||||
72,217
|
||||
147,217
|
||||
39,227
|
||||
275,230
|
||||
136,233
|
||||
125,243
|
||||
296,243
|
||||
209,249
|
||||
285,250
|
||||
245,258
|
||||
30,261
|
||||
26,277
|
||||
110,277
|
||||
299,290
|
||||
68,293
|
||||
30,297
|
||||
26,300
|
||||
36,305
|
||||
297,305
|
||||
21,318
|
||||
|
@@ -0,0 +1,55 @@
|
||||
# saved_on,DATA
|
||||
# master_file,R20709P0.CSV
|
||||
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=2 BIT=4 POINTS=45 MODE=ORDINARY STATUS=ERROR
|
||||
# source,BOARD_REMOTE
|
||||
# spi,SPI2
|
||||
# tick_ms,191624
|
||||
# bit,4
|
||||
# edge_mode,ORDINARY
|
||||
# points,45
|
||||
x,y
|
||||
38,5
|
||||
271,5
|
||||
288,5
|
||||
66,22
|
||||
142,23
|
||||
129,27
|
||||
179,36
|
||||
58,39
|
||||
289,52
|
||||
136,60
|
||||
136,68
|
||||
54,69
|
||||
318,80
|
||||
146,81
|
||||
122,84
|
||||
108,128
|
||||
67,135
|
||||
105,136
|
||||
80,140
|
||||
68,154
|
||||
284,154
|
||||
235,162
|
||||
2,171
|
||||
108,176
|
||||
53,182
|
||||
21,184
|
||||
158,187
|
||||
19,190
|
||||
126,190
|
||||
287,209
|
||||
91,212
|
||||
48,217
|
||||
283,219
|
||||
76,221
|
||||
83,227
|
||||
259,251
|
||||
110,260
|
||||
38,276
|
||||
225,279
|
||||
77,280
|
||||
299,283
|
||||
55,284
|
||||
145,310
|
||||
155,314
|
||||
235,319
|
||||
|
@@ -0,0 +1,68 @@
|
||||
# file,S10709P0.CSV
|
||||
# source,BOARD_LOCAL
|
||||
# spi,SPI1
|
||||
# tick_ms,194163
|
||||
# bit,4
|
||||
# edge_mode,ORDINARY
|
||||
# points,60
|
||||
x,y
|
||||
143,4
|
||||
58,13
|
||||
118,17
|
||||
217,17
|
||||
136,23
|
||||
167,29
|
||||
138,34
|
||||
99,36
|
||||
137,37
|
||||
149,41
|
||||
253,47
|
||||
16,48
|
||||
120,52
|
||||
173,53
|
||||
25,57
|
||||
115,72
|
||||
136,72
|
||||
235,74
|
||||
79,82
|
||||
312,88
|
||||
182,108
|
||||
162,109
|
||||
80,111
|
||||
186,113
|
||||
215,113
|
||||
286,113
|
||||
24,117
|
||||
112,120
|
||||
141,126
|
||||
274,126
|
||||
276,135
|
||||
195,139
|
||||
175,143
|
||||
195,143
|
||||
50,184
|
||||
233,187
|
||||
84,190
|
||||
64,194
|
||||
48,195
|
||||
256,203
|
||||
299,205
|
||||
162,206
|
||||
82,217
|
||||
300,220
|
||||
84,237
|
||||
71,261
|
||||
236,275
|
||||
53,280
|
||||
102,280
|
||||
41,283
|
||||
14,288
|
||||
127,288
|
||||
109,291
|
||||
186,296
|
||||
230,302
|
||||
45,303
|
||||
217,306
|
||||
259,309
|
||||
177,310
|
||||
151,317
|
||||
|
@@ -0,0 +1,52 @@
|
||||
# file,S20709P0.CSV
|
||||
# source,BOARD_LOCAL
|
||||
# spi,SPI2
|
||||
# tick_ms,233842
|
||||
# bit,4
|
||||
# edge_mode,ORDINARY
|
||||
# points,44
|
||||
x,y
|
||||
272,1
|
||||
113,4
|
||||
251,10
|
||||
174,11
|
||||
37,31
|
||||
116,33
|
||||
118,35
|
||||
291,41
|
||||
260,55
|
||||
175,58
|
||||
6,59
|
||||
65,66
|
||||
257,92
|
||||
312,102
|
||||
277,103
|
||||
217,109
|
||||
158,123
|
||||
30,124
|
||||
62,127
|
||||
2,135
|
||||
85,136
|
||||
275,137
|
||||
122,143
|
||||
307,166
|
||||
17,170
|
||||
58,186
|
||||
79,192
|
||||
160,205
|
||||
151,223
|
||||
192,225
|
||||
265,232
|
||||
81,233
|
||||
44,249
|
||||
153,260
|
||||
37,264
|
||||
240,271
|
||||
36,273
|
||||
83,277
|
||||
244,282
|
||||
129,284
|
||||
302,284
|
||||
118,302
|
||||
196,306
|
||||
271,311
|
||||
|
Reference in New Issue
Block a user