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,R20002P0.CSV
# remote_begin,BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
x,y
90.91,252.63
88.16,249.79
85.51,246.86
82.95,243.84
80.49,240.74
78.13,237.56
75.88,234.31
73.73,230.99
71.70,227.59
69.78,224.13
67.97,220.61
66.28,217.04
64.71,213.41
63.25,209.73
61.92,206.00
60.71,202.24
59.62,198.43
58.66,194.60
57.83,190.73
57.12,186.84
56.54,182.92
56.09,178.99
55.76,175.05
55.57,171.10
55.50,167.14
55.57,163.19
55.76,159.23
56.09,155.29
56.54,151.36
57.12,147.45
57.83,143.56
58.66,139.69
59.62,135.85
60.71,132.05
61.92,128.28
63.25,124.55
64.71,120.88
66.28,117.25
67.97,113.67
69.78,110.15
71.70,106.69
73.73,103.30
75.88,99.97
78.13,96.72
80.49,93.54
82.95,90.44
85.51,87.43
88.16,84.50
90.91,81.65
1 # saved_on SYNTHETIC
2 # master_file R20002P0.CSV
3 # remote_begin BEGIN_REMOTE_CSV SOURCE=BOARD_REMOTE SPI=2 POINTS=49 MODE=SYNTHETIC STATUS=OK
4 x y
5 90.91 252.63
6 88.16 249.79
7 85.51 246.86
8 82.95 243.84
9 80.49 240.74
10 78.13 237.56
11 75.88 234.31
12 73.73 230.99
13 71.70 227.59
14 69.78 224.13
15 67.97 220.61
16 66.28 217.04
17 64.71 213.41
18 63.25 209.73
19 61.92 206.00
20 60.71 202.24
21 59.62 198.43
22 58.66 194.60
23 57.83 190.73
24 57.12 186.84
25 56.54 182.92
26 56.09 178.99
27 55.76 175.05
28 55.57 171.10
29 55.50 167.14
30 55.57 163.19
31 55.76 159.23
32 56.09 155.29
33 56.54 151.36
34 57.12 147.45
35 57.83 143.56
36 58.66 139.69
37 59.62 135.85
38 60.71 132.05
39 61.92 128.28
40 63.25 124.55
41 64.71 120.88
42 66.28 117.25
43 67.97 113.67
44 69.78 110.15
45 71.70 106.69
46 73.73 103.30
47 75.88 99.97
48 78.13 96.72
49 80.49 93.54
50 82.95 90.44
51 85.51 87.43
52 88.16 84.50
53 90.91 81.65