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:
Your Name
2026-05-26 14:01:47 -07:00
parent b9adc7c0b8
commit 02327a7a21
60 changed files with 29018 additions and 71 deletions
+52
View File
@@ -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
1 # file S20709P0.CSV
2 # source BOARD_LOCAL
3 # spi SPI2
4 # tick_ms 233842
5 # bit 4
6 # edge_mode ORDINARY
7 # points 44
8 x y
9 272 1
10 113 4
11 251 10
12 174 11
13 37 31
14 116 33
15 118 35
16 291 41
17 260 55
18 175 58
19 6 59
20 65 66
21 257 92
22 312 102
23 277 103
24 217 109
25 158 123
26 30 124
27 62 127
28 2 135
29 85 136
30 275 137
31 122 143
32 307 166
33 17 170
34 58 186
35 79 192
36 160 205
37 151 223
38 192 225
39 265 232
40 81 233
41 44 249
42 153 260
43 37 264
44 240 271
45 36 273
46 83 277
47 244 282
48 129 284
49 302 284
50 118 302
51 196 306
52 271 311