|
1 | | -classType hardware.HandDistanceSensor |
2 | | -blockdiagramSpecification Main { |
3 | | - methodBody read { |
4 | | - outPin active { |
5 | | - connection_10 |
6 | | - } |
7 | | - } |
8 | | - container saturate at (601, 71) size (10, 5) { |
9 | | - label at (30, 1) |
10 | | - containerInPin in at (left, 1) connection_14 |
11 | | - containerOutPin out at (right, 1) { |
12 | | - connection_11 |
13 | | - } |
14 | | - literal Numeric "0.0" at (181, 133) size (49, 0) { |
15 | | - label at (0, 4) |
16 | | - outPin { |
17 | | - connection_12 |
18 | | - } |
19 | | - } |
20 | | - containerPinIdentifier in at (101, 103) size (6, 1) { |
21 | | - outPin { |
22 | | - connection_9 |
23 | | - } |
24 | | - } |
25 | | - maximum at (261, 106) { |
26 | | - inPin connection_9 |
27 | | - inPin connection_12 { |
28 | | - bendpoints (10, 0), (10, -10) |
29 | | - } |
30 | | - outPin { |
31 | | - connection_8 |
32 | | - } |
33 | | - } |
34 | | - literal Numeric "1.0" at (251, 153) size (49, 0) { |
35 | | - label at (0, 4) |
36 | | - outPin { |
37 | | - connection_13 |
38 | | - } |
39 | | - } |
40 | | - containerPinIdentifier out at (411, 123) size (8, 1) { |
41 | | - inPin connection_15 |
42 | | - } |
43 | | - minimum at (321, 116) { |
44 | | - inPin connection_8 |
45 | | - inPin connection_13 { |
46 | | - bendpoints (10, 0), (10, -20) |
47 | | - } |
48 | | - outPin { |
49 | | - connection_15 |
50 | | - } |
51 | | - } |
52 | | - } |
53 | | - complexIdentifier m at (391, 71) size (14, 11) { |
54 | | - label at (30, 1) |
55 | | - methodCall hardware.MappingUtil.map { |
56 | | - argumentPin x at (left, 1) connection_5 |
57 | | - argumentPin in_min at (left, 4) connection_4 |
58 | | - argumentPin in_max at (left, 5) connection_3 { |
59 | | - bendpoints (40, 0), (40, -20) |
60 | | - } |
61 | | - argumentPin out_min at (left, 7) connection_2 { |
62 | | - bendpoints (110, 0), (110, -60) |
63 | | - } |
64 | | - argumentPin out_max at (left, 8) connection_1 { |
65 | | - bendpoints (130, 0), (130, -70) |
66 | | - } |
67 | | - returnPin at (right, 1) { |
68 | | - connection_14 |
69 | | - } |
70 | | - sequenceCall { |
71 | | - inPin |
72 | | - } |
73 | | - } |
74 | | - } |
75 | | - simpleIdentifier adcMin at (221, 115) { |
76 | | - label at (0, -1) |
77 | | - outPin { |
78 | | - connection_4 |
79 | | - } |
80 | | - sequenceCall { |
81 | | - inPin |
82 | | - } |
83 | | - } |
84 | | - simpleIdentifier adcMax at (221, 145) { |
85 | | - label at (0, -1) |
86 | | - outPin { |
87 | | - connection_3 |
88 | | - } |
89 | | - sequenceCall { |
90 | | - inPin |
91 | | - } |
92 | | - } |
93 | | - literal Numeric "1.0" at (171, 203) size (49, 0) { |
94 | | - label at (0, 4) |
95 | | - outPin { |
96 | | - connection_2 |
97 | | - } |
98 | | - } |
99 | | - literal Numeric "0.0" at (171, 223) size (49, 0) { |
100 | | - label at (0, 4) |
101 | | - outPin { |
102 | | - connection_1 |
103 | | - } |
104 | | - } |
105 | | - simpleIdentifier model.Signals.adcHandPosition at (91, 85) { |
106 | | - label at (-20, -1) |
107 | | - outPin { |
108 | | - connection_5 |
109 | | - } |
110 | | - sequenceCall { |
111 | | - inPin |
112 | | - } |
113 | | - } |
114 | | - simpleIdentifier model.Signals.handPosition at (791, 85) { |
115 | | - label at (-20, -1) |
116 | | - inPin connection_11 |
117 | | - sequenceCall { |
118 | | - inPin connection_10 |
119 | | - } |
120 | | - } |
121 | | -} |
| 1 | +classType hardware.HandDistanceSensor |
| 2 | +blockdiagramSpecification Main { |
| 3 | + methodBody read { |
| 4 | + outPin active { |
| 5 | + connection_10 |
| 6 | + } |
| 7 | + } |
| 8 | + container saturate at (601, 71) size (10, 5) { |
| 9 | + label at (30, 1) |
| 10 | + containerInPin in at (left, 1) connection_14 |
| 11 | + containerOutPin out at (right, 1) { |
| 12 | + connection_11 |
| 13 | + } |
| 14 | + literal Numeric "0.0" at (181, 133) size (49, 0) { |
| 15 | + label at (0, 4) |
| 16 | + outPin { |
| 17 | + connection_12 |
| 18 | + } |
| 19 | + } |
| 20 | + containerPinIdentifier in at (101, 103) size (6, 1) { |
| 21 | + outPin { |
| 22 | + connection_9 |
| 23 | + } |
| 24 | + } |
| 25 | + maximum at (261, 106) { |
| 26 | + inPin connection_9 |
| 27 | + inPin connection_12 { |
| 28 | + bendpoints (10, 0), (10, -10) |
| 29 | + } |
| 30 | + outPin { |
| 31 | + connection_8 |
| 32 | + } |
| 33 | + } |
| 34 | + literal Numeric "1.0" at (251, 153) size (49, 0) { |
| 35 | + label at (0, 4) |
| 36 | + outPin { |
| 37 | + connection_13 |
| 38 | + } |
| 39 | + } |
| 40 | + containerPinIdentifier out at (411, 123) size (8, 1) { |
| 41 | + inPin connection_15 |
| 42 | + } |
| 43 | + minimum at (321, 116) { |
| 44 | + inPin connection_8 |
| 45 | + inPin connection_13 { |
| 46 | + bendpoints (10, 0), (10, -20) |
| 47 | + } |
| 48 | + outPin { |
| 49 | + connection_15 |
| 50 | + } |
| 51 | + } |
| 52 | + } |
| 53 | + complexIdentifier m at (391, 71) size (14, 11) { |
| 54 | + label at (30, 1) |
| 55 | + methodCall hardware.MappingUtil.map { |
| 56 | + argumentPin x at (left, 1) connection_5 |
| 57 | + argumentPin in_min at (left, 4) connection_4 |
| 58 | + argumentPin in_max at (left, 5) connection_3 { |
| 59 | + bendpoints (40, 0), (40, -20) |
| 60 | + } |
| 61 | + argumentPin out_min at (left, 7) connection_2 { |
| 62 | + bendpoints (110, 0), (110, -60) |
| 63 | + } |
| 64 | + argumentPin out_max at (left, 8) connection_1 { |
| 65 | + bendpoints (130, 0), (130, -70) |
| 66 | + } |
| 67 | + returnPin at (right, 1) { |
| 68 | + connection_14 |
| 69 | + } |
| 70 | + sequenceCall { |
| 71 | + inPin |
| 72 | + } |
| 73 | + } |
| 74 | + } |
| 75 | + simpleIdentifier adcMin at (221, 115) { |
| 76 | + label at (0, -1) |
| 77 | + outPin { |
| 78 | + connection_4 |
| 79 | + } |
| 80 | + sequenceCall { |
| 81 | + inPin |
| 82 | + } |
| 83 | + } |
| 84 | + simpleIdentifier adcMax at (221, 145) { |
| 85 | + label at (0, -1) |
| 86 | + outPin { |
| 87 | + connection_3 |
| 88 | + } |
| 89 | + sequenceCall { |
| 90 | + inPin |
| 91 | + } |
| 92 | + } |
| 93 | + literal Numeric "1.0" at (171, 203) size (49, 0) { |
| 94 | + label at (0, 4) |
| 95 | + outPin { |
| 96 | + connection_2 |
| 97 | + } |
| 98 | + } |
| 99 | + literal Numeric "0.0" at (171, 223) size (49, 0) { |
| 100 | + label at (0, 4) |
| 101 | + outPin { |
| 102 | + connection_1 |
| 103 | + } |
| 104 | + } |
| 105 | + simpleIdentifier model.Signals.adcHandPosition at (91, 85) { |
| 106 | + label at (-20, -1) |
| 107 | + outPin { |
| 108 | + connection_5 |
| 109 | + } |
| 110 | + sequenceCall { |
| 111 | + inPin |
| 112 | + } |
| 113 | + } |
| 114 | + simpleIdentifier model.Signals.handPosition at (791, 85) { |
| 115 | + label at (-20, -1) |
| 116 | + inPin connection_11 |
| 117 | + sequenceCall { |
| 118 | + inPin connection_10 |
| 119 | + } |
| 120 | + } |
| 121 | +} |
0 commit comments