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,R10001P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
261.57,252.44
258.73,255.19
255.80,257.85
252.78,260.41
249.68,262.86
246.50,265.22
243.25,267.47
239.92,269.62
236.53,271.65
233.07,273.57
229.55,275.38
225.98,277.07
222.35,278.65
218.67,280.10
214.94,281.43
211.18,282.64
207.37,283.73
203.53,284.69
199.67,285.53
195.77,286.23
191.86,286.81
187.93,287.27
183.99,287.59
180.04,287.78
176.08,287.85
172.12,287.78
168.17,287.59
164.23,287.27
160.30,286.81
156.39,286.23
152.49,285.53
148.63,284.69
144.79,283.73
140.99,282.64
137.22,281.43
133.49,280.10
129.81,278.65
126.18,277.07
122.61,275.38
119.09,273.57
115.63,271.65
112.24,269.62
108.91,267.47
105.66,265.22
102.48,262.86
99.38,260.41
96.37,257.85
93.43,255.19
90.59,252.44
1 # saved_on SYNTHETIC
2 # master_file R10001P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 261.57 252.44
6 258.73 255.19
7 255.80 257.85
8 252.78 260.41
9 249.68 262.86
10 246.50 265.22
11 243.25 267.47
12 239.92 269.62
13 236.53 271.65
14 233.07 273.57
15 229.55 275.38
16 225.98 277.07
17 222.35 278.65
18 218.67 280.10
19 214.94 281.43
20 211.18 282.64
21 207.37 283.73
22 203.53 284.69
23 199.67 285.53
24 195.77 286.23
25 191.86 286.81
26 187.93 287.27
27 183.99 287.59
28 180.04 287.78
29 176.08 287.85
30 172.12 287.78
31 168.17 287.59
32 164.23 287.27
33 160.30 286.81
34 156.39 286.23
35 152.49 285.53
36 148.63 284.69
37 144.79 283.73
38 140.99 282.64
39 137.22 281.43
40 133.49 280.10
41 129.81 278.65
42 126.18 277.07
43 122.61 275.38
44 119.09 273.57
45 115.63 271.65
46 112.24 269.62
47 108.91 267.47
48 105.66 265.22
49 102.48 262.86
50 99.38 260.41
51 96.37 257.85
52 93.43 255.19
53 90.59 252.44