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,R10002P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
261.89,252.63
259.05,255.38
256.12,258.04
253.10,260.60
250.00,263.06
246.82,265.41
243.57,267.67
240.25,269.81
236.85,271.84
233.39,273.77
229.88,275.57
226.30,277.27
222.67,278.84
218.99,280.29
215.27,281.63
211.50,282.84
207.69,283.92
203.86,284.88
199.99,285.72
196.10,286.43
192.18,287.01
188.25,287.46
184.31,287.78
180.36,287.98
176.40,288.04
172.45,287.98
168.50,287.78
164.55,287.46
160.62,287.01
156.71,286.43
152.82,285.72
148.95,284.88
145.11,283.92
141.31,282.84
137.54,281.63
133.82,280.29
130.14,278.84
126.51,277.27
122.93,275.57
119.41,273.77
115.95,271.84
112.56,269.81
109.23,267.67
105.98,265.41
102.80,263.06
99.70,260.60
96.69,258.04
93.76,255.38
90.91,252.63
1 # saved_on SYNTHETIC
2 # master_file R10002P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=1 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 261.89 252.63
6 259.05 255.38
7 256.12 258.04
8 253.10 260.60
9 250.00 263.06
10 246.82 265.41
11 243.57 267.67
12 240.25 269.81
13 236.85 271.84
14 233.39 273.77
15 229.88 275.57
16 226.30 277.27
17 222.67 278.84
18 218.99 280.29
19 215.27 281.63
20 211.50 282.84
21 207.69 283.92
22 203.86 284.88
23 199.99 285.72
24 196.10 286.43
25 192.18 287.01
26 188.25 287.46
27 184.31 287.78
28 180.36 287.98
29 176.40 288.04
30 172.45 287.98
31 168.50 287.78
32 164.55 287.46
33 160.62 287.01
34 156.71 286.43
35 152.82 285.72
36 148.95 284.88
37 145.11 283.92
38 141.31 282.84
39 137.54 281.63
40 133.82 280.29
41 130.14 278.84
42 126.51 277.27
43 122.93 275.57
44 119.41 273.77
45 115.95 271.84
46 112.56 269.81
47 109.23 267.67
48 105.98 265.41
49 102.80 263.06
50 99.70 260.60
51 96.69 258.04
52 93.76 255.38
53 90.91 252.63