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,S10001P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
90.59,81.46
93.43,78.71
96.37,76.05
99.38,73.49
102.48,71.03
105.66,68.68
108.91,66.42
112.24,64.28
115.63,62.25
119.09,60.32
122.61,58.52
126.18,56.82
129.81,55.25
133.49,53.80
137.22,52.46
140.99,51.25
144.79,50.17
148.63,49.21
152.49,48.37
156.39,47.66
160.30,47.08
164.23,46.63
168.17,46.31
172.12,46.11
176.08,46.05
180.04,46.11
183.99,46.31
187.93,46.63
191.86,47.08
195.77,47.66
199.67,48.37
203.53,49.21
207.37,50.17
211.18,51.25
214.94,52.46
218.67,53.80
222.35,55.25
225.98,56.82
229.55,58.52
233.07,60.32
236.53,62.25
239.92,64.28
243.25,66.42
246.50,68.68
249.68,71.03
252.78,73.49
255.80,76.05
258.73,78.71
261.57,81.46
1 # saved_on SYNTHETIC
2 # master_file S10001P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=LOCAL SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 90.59 81.46
6 93.43 78.71
7 96.37 76.05
8 99.38 73.49
9 102.48 71.03
10 105.66 68.68
11 108.91 66.42
12 112.24 64.28
13 115.63 62.25
14 119.09 60.32
15 122.61 58.52
16 126.18 56.82
17 129.81 55.25
18 133.49 53.80
19 137.22 52.46
20 140.99 51.25
21 144.79 50.17
22 148.63 49.21
23 152.49 48.37
24 156.39 47.66
25 160.30 47.08
26 164.23 46.63
27 168.17 46.31
28 172.12 46.11
29 176.08 46.05
30 180.04 46.11
31 183.99 46.31
32 187.93 46.63
33 191.86 47.08
34 195.77 47.66
35 199.67 48.37
36 203.53 49.21
37 207.37 50.17
38 211.18 51.25
39 214.94 52.46
40 218.67 53.80
41 222.35 55.25
42 225.98 56.82
43 229.55 58.52
44 233.07 60.32
45 236.53 62.25
46 239.92 64.28
47 243.25 66.42
48 246.50 68.68
49 249.68 71.03
50 252.78 73.49
51 255.80 76.05
52 258.73 78.71
53 261.57 81.46