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
+53
View File
@@ -0,0 +1,53 @@
# saved_on,SYNTHETIC
# master_file,S20002P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
261.89,81.65
264.64,84.50
267.30,87.43
269.86,90.44
272.32,93.54
274.68,96.72
276.93,99.97
279.07,103.30
281.11,106.69
283.03,110.15
284.83,113.67
286.53,117.25
288.10,120.88
289.55,124.55
290.89,128.28
292.10,132.05
293.18,135.85
294.14,139.69
294.98,143.56
295.69,147.45
296.27,151.36
296.72,155.29
297.04,159.23
297.24,163.19
297.30,167.14
297.24,171.10
297.04,175.05
296.72,178.99
296.27,182.92
295.69,186.84
294.98,190.73
294.14,194.60
293.18,198.43
292.10,202.24
290.89,206.00
289.55,209.73
288.10,213.41
286.53,217.04
284.83,220.61
283.03,224.13
281.11,227.59
279.07,230.99
276.93,234.31
274.68,237.56
272.32,240.74
269.86,243.84
267.30,246.86
264.64,249.79
261.89,252.63
1 # saved_on SYNTHETIC
2 # master_file S20002P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 261.89 81.65
6 264.64 84.50
7 267.30 87.43
8 269.86 90.44
9 272.32 93.54
10 274.68 96.72
11 276.93 99.97
12 279.07 103.30
13 281.11 106.69
14 283.03 110.15
15 284.83 113.67
16 286.53 117.25
17 288.10 120.88
18 289.55 124.55
19 290.89 128.28
20 292.10 132.05
21 293.18 135.85
22 294.14 139.69
23 294.98 143.56
24 295.69 147.45
25 296.27 151.36
26 296.72 155.29
27 297.04 159.23
28 297.24 163.19
29 297.30 167.14
30 297.24 171.10
31 297.04 175.05
32 296.72 178.99
33 296.27 182.92
34 295.69 186.84
35 294.98 190.73
36 294.14 194.60
37 293.18 198.43
38 292.10 202.24
39 290.89 206.00
40 289.55 209.73
41 288.10 213.41
42 286.53 217.04
43 284.83 220.61
44 283.03 224.13
45 281.11 227.59
46 279.07 230.99
47 276.93 234.31
48 274.68 237.56
49 272.32 240.74
50 269.86 243.84
51 267.30 246.86
52 264.64 249.79
53 261.89 252.63