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,S10002P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
90.91,81.65
93.76,78.90
96.69,76.24
99.70,73.68
102.80,71.23
105.98,68.87
109.23,66.62
112.56,64.47
115.95,62.44
119.41,60.52
122.93,58.71
126.51,57.02
130.14,55.44
133.82,53.99
137.54,52.66
141.31,51.45
145.11,50.36
148.95,49.40
152.82,48.56
156.71,47.86
160.62,47.28
164.55,46.82
168.50,46.50
172.45,46.31
176.40,46.24
180.36,46.31
184.31,46.50
188.25,46.82
192.18,47.28
196.10,47.86
199.99,48.56
203.86,49.40
207.69,50.36
211.50,51.45
215.27,52.66
218.99,53.99
222.67,55.44
226.30,57.02
229.88,58.71
233.39,60.52
236.85,62.44
240.25,64.47
243.57,66.62
246.82,68.87
250.00,71.23
253.10,73.68
256.12,76.24
259.05,78.90
261.89,81.65
1 # saved_on SYNTHETIC
2 # master_file S10002P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 90.91 81.65
6 93.76 78.90
7 96.69 76.24
8 99.70 73.68
9 102.80 71.23
10 105.98 68.87
11 109.23 66.62
12 112.56 64.47
13 115.95 62.44
14 119.41 60.52
15 122.93 58.71
16 126.51 57.02
17 130.14 55.44
18 133.82 53.99
19 137.54 52.66
20 141.31 51.45
21 145.11 50.36
22 148.95 49.40
23 152.82 48.56
24 156.71 47.86
25 160.62 47.28
26 164.55 46.82
27 168.50 46.50
28 172.45 46.31
29 176.40 46.24
30 180.36 46.31
31 184.31 46.50
32 188.25 46.82
33 192.18 47.28
34 196.10 47.86
35 199.99 48.56
36 203.86 49.40
37 207.69 50.36
38 211.50 51.45
39 215.27 52.66
40 218.99 53.99
41 222.67 55.44
42 226.30 57.02
43 229.88 58.71
44 233.39 60.52
45 236.85 62.44
46 240.25 64.47
47 243.57 66.62
48 246.82 68.87
49 250.00 71.23
50 253.10 73.68
51 256.12 76.24
52 259.05 78.90
53 261.89 81.65