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,R20001P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
90.59,252.44
87.84,249.59
85.18,246.66
82.62,243.65
80.16,240.55
77.81,237.37
75.56,234.12
73.41,230.79
71.38,227.40
69.46,223.94
67.65,220.42
65.96,216.84
64.38,213.21
62.93,209.54
61.60,205.81
60.39,202.04
59.30,198.24
58.34,194.40
57.50,190.53
56.80,186.64
56.21,182.73
55.76,178.80
55.44,174.86
55.25,170.90
55.18,166.95
55.25,162.99
55.44,159.04
55.76,155.10
56.21,151.17
56.80,147.25
57.50,143.36
58.34,139.49
59.30,135.66
60.39,131.85
61.60,128.09
62.93,124.36
64.38,120.68
65.96,117.05
67.65,113.48
69.46,109.96
71.38,106.50
73.41,103.10
75.56,99.78
77.81,96.53
80.16,93.35
82.62,90.25
85.18,87.23
87.84,84.30
90.59,81.46
1 # saved_on SYNTHETIC
2 # master_file R20001P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 90.59 252.44
6 87.84 249.59
7 85.18 246.66
8 82.62 243.65
9 80.16 240.55
10 77.81 237.37
11 75.56 234.12
12 73.41 230.79
13 71.38 227.40
14 69.46 223.94
15 67.65 220.42
16 65.96 216.84
17 64.38 213.21
18 62.93 209.54
19 61.60 205.81
20 60.39 202.04
21 59.30 198.24
22 58.34 194.40
23 57.50 190.53
24 56.80 186.64
25 56.21 182.73
26 55.76 178.80
27 55.44 174.86
28 55.25 170.90
29 55.18 166.95
30 55.25 162.99
31 55.44 159.04
32 55.76 155.10
33 56.21 151.17
34 56.80 147.25
35 57.50 143.36
36 58.34 139.49
37 59.30 135.66
38 60.39 131.85
39 61.60 128.09
40 62.93 124.36
41 64.38 120.68
42 65.96 117.05
43 67.65 113.48
44 69.46 109.96
45 71.38 106.50
46 73.41 103.10
47 75.56 99.78
48 77.81 96.53
49 80.16 93.35
50 82.62 90.25
51 85.18 87.23
52 87.84 84.30
53 90.59 81.46