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
+68
View File
@@ -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
1 # file S10709P0.CSV
2 # source BOARD_LOCAL
3 # spi SPI1
4 # tick_ms 194163
5 # bit 4
6 # edge_mode ORDINARY
7 # points 60
8 x y
9 143 4
10 58 13
11 118 17
12 217 17
13 136 23
14 167 29
15 138 34
16 99 36
17 137 37
18 149 41
19 253 47
20 16 48
21 120 52
22 173 53
23 25 57
24 115 72
25 136 72
26 235 74
27 79 82
28 312 88
29 182 108
30 162 109
31 80 111
32 186 113
33 215 113
34 286 113
35 24 117
36 112 120
37 141 126
38 274 126
39 276 135
40 195 139
41 175 143
42 195 143
43 50 184
44 233 187
45 84 190
46 64 194
47 48 195
48 256 203
49 299 205
50 162 206
51 82 217
52 300 220
53 84 237
54 71 261
55 236 275
56 53 280
57 102 280
58 41 283
59 14 288
60 127 288
61 109 291
62 186 296
63 230 302
64 45 303
65 217 306
66 259 309
67 177 310
68 151 317