This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReflectiveTapeDetection.grip
194 lines (194 loc) · 5.97 KB
/
ReflectiveTapeDetection.grip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<grip:Pipeline>
<sources>
<grip:Camera>
<property name="address" value="http://roboRIO-1757-FRC.local:1181/?action=stream"/>
</grip:Camera>
</sources>
<steps>
<grip:Step name="HSV Threshold">
<grip:Input step="0" socket="0"/>
<grip:Input step="0" socket="1">
<value>
<double>0.0</double>
<double>180.0</double>
</value>
</grip:Input>
<grip:Input step="0" socket="2">
<value>
<double>0.0</double>
<double>135.22342064714948</double>
</value>
</grip:Input>
<grip:Input step="0" socket="3">
<value>
<double>62.429378531073446</double>
<double>255.0</double>
</value>
</grip:Input>
<grip:Output step="0" socket="0" previewed="true"/>
</grip:Step>
<grip:Step name="CV erode">
<grip:Input step="1" socket="0"/>
<grip:Input step="1" socket="1"/>
<grip:Input step="1" socket="2"/>
<grip:Input step="1" socket="3">
<value>0.0</value>
</grip:Input>
<grip:Input step="1" socket="4">
<value>BORDER_CONSTANT</value>
</grip:Input>
<grip:Input step="1" socket="5"/>
<grip:Output step="1" socket="0" previewed="true"/>
</grip:Step>
<grip:Step name="Find Contours">
<grip:Input step="2" socket="0"/>
<grip:Input step="2" socket="1">
<value>false</value>
</grip:Input>
<grip:Output step="2" socket="0" previewed="false"/>
</grip:Step>
<grip:Step name="Filter Contours">
<grip:Input step="3" socket="0"/>
<grip:Input step="3" socket="1">
<value>10.0</value>
</grip:Input>
<grip:Input step="3" socket="2">
<value>0.0</value>
</grip:Input>
<grip:Input step="3" socket="3">
<value>5.0</value>
</grip:Input>
<grip:Input step="3" socket="4">
<value>40.0</value>
</grip:Input>
<grip:Input step="3" socket="5">
<value>5.0</value>
</grip:Input>
<grip:Input step="3" socket="6">
<value>300.0</value>
</grip:Input>
<grip:Input step="3" socket="7">
<value>
<double>83.77683534198744</double>
<int>100</int>
</value>
</grip:Input>
<grip:Input step="3" socket="8">
<value>300.0</value>
</grip:Input>
<grip:Input step="3" socket="9">
<value>0.0</value>
</grip:Input>
<grip:Input step="3" socket="10">
<value>0.0</value>
</grip:Input>
<grip:Input step="3" socket="11">
<value>1000.0</value>
</grip:Input>
<grip:Output step="3" socket="0" previewed="true"/>
</grip:Step>
<grip:Step name="NTPublish ContoursReport">
<grip:Input step="4" socket="0"/>
<grip:Input step="4" socket="1">
<value>myContoursReport</value>
</grip:Input>
<grip:Input step="4" socket="2">
<value>true</value>
</grip:Input>
<grip:Input step="4" socket="3">
<value>true</value>
</grip:Input>
<grip:Input step="4" socket="4">
<value>true</value>
</grip:Input>
<grip:Input step="4" socket="5">
<value>true</value>
</grip:Input>
<grip:Input step="4" socket="6">
<value>true</value>
</grip:Input>
<grip:Input step="4" socket="7">
<value>true</value>
</grip:Input>
</grip:Step>
<grip:Step name="Filter Contours">
<grip:Input step="5" socket="0"/>
<grip:Input step="5" socket="1">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="2">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="3">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="4">
<value>1000.0</value>
</grip:Input>
<grip:Input step="5" socket="5">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="6">
<value>1000.0</value>
</grip:Input>
<grip:Input step="5" socket="7">
<value>
<int>0</int>
<int>100</int>
</value>
</grip:Input>
<grip:Input step="5" socket="8">
<value>1000000.0</value>
</grip:Input>
<grip:Input step="5" socket="9">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="10">
<value>0.0</value>
</grip:Input>
<grip:Input step="5" socket="11">
<value>1000.0</value>
</grip:Input>
<grip:Output step="5" socket="0" previewed="false"/>
</grip:Step>
</steps>
<connections>
<grip:Connection>
<grip:Output step="3" socket="0" previewed="true"/>
<grip:Input step="4" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output step="2" socket="0" previewed="false"/>
<grip:Input step="3" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output step="1" socket="0" previewed="true"/>
<grip:Input step="2" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output source="0" socket="0" previewed="true"/>
<grip:Input step="0" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output step="0" socket="0" previewed="true"/>
<grip:Input step="1" socket="0"/>
</grip:Connection>
</connections>
<settings>
<teamNumber>0</teamNumber>
<publishAddress>roboRIO-0-FRC.local</publishAddress>
<deployAddress>roboRIO-0-FRC.local</deployAddress>
<deployDir>/home/lvuser</deployDir>
<deployUser>lvuser</deployUser>
<deployJavaHome>/usr/local/frc/JRE/</deployJavaHome>
<deployJvmOptions>-Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -XX:MaxNewSize=16m</deployJvmOptions>
</settings>
<codeGenerationSettings>
<language>Java</language>
<className>GripPipeline</className>
<implementWpilibPipeline>false</implementWpilibPipeline>
<saveDir>C:\Users\admin\GRIP</saveDir>
<packageName></packageName>
<moduleName>grip</moduleName>
</codeGenerationSettings>
</grip:Pipeline>