Skip to content

Commit

Permalink
Base Commits - Should Work
Browse files Browse the repository at this point in the history
hello
  • Loading branch information
frc1806 committed Jan 31, 2017
0 parents commit 29c42e8
Show file tree
Hide file tree
Showing 11 changed files with 658 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
168 changes: 168 additions & 0 deletions Lift-GRIP.grip
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
<grip:Pipeline>
<sources>
<grip:Camera>
<property name="address" value="http://roborio-1806-frc.local:1181/?action=stream"/>
</grip:Camera>
</sources>
<steps>
<grip:Step name="Blur">
<grip:Input step="0" socket="0"/>
<grip:Input step="0" socket="1">
<value>BOX</value>
</grip:Input>
<grip:Input step="0" socket="2">
<value>5.538085255066387</value>
</grip:Input>
<grip:Output step="0" socket="0" previewed="false"/>
</grip:Step>
<grip:Step name="HSV Threshold">
<grip:Input step="1" socket="0"/>
<grip:Input step="1" socket="1">
<value>
<double>0.0</double>
<double>111.0323574730354</double>
</value>
</grip:Input>
<grip:Input step="1" socket="2">
<value>
<double>0.0</double>
<double>118.63636363636364</double>
</value>
</grip:Input>
<grip:Input step="1" socket="3">
<value>
<double>245.3954802259887</double>
<double>255.0</double>
</value>
</grip:Input>
<grip:Output step="1" socket="0" previewed="true"/>
</grip:Step>
<grip:Step name="CV erode">
<grip:Input step="2" socket="0"/>
<grip:Input step="2" socket="1"/>
<grip:Input step="2" socket="2"/>
<grip:Input step="2" socket="3">
<value>1.0</value>
</grip:Input>
<grip:Input step="2" socket="4">
<value>BORDER_CONSTANT</value>
</grip:Input>
<grip:Input step="2" socket="5"/>
<grip:Output step="2" socket="0" previewed="false"/>
</grip:Step>
<grip:Step name="Find Contours">
<grip:Input step="3" socket="0"/>
<grip:Input step="3" socket="1">
<value>false</value>
</grip:Input>
<grip:Output step="3" socket="0" previewed="false"/>
</grip:Step>
<grip:Step name="Filter Contours">
<grip:Input step="4" socket="0"/>
<grip:Input step="4" socket="1">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="2">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="3">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="4">
<value>10000.0</value>
</grip:Input>
<grip:Input step="4" socket="5">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="6">
<value>600.0</value>
</grip:Input>
<grip:Input step="4" socket="7">
<value>
<double>0.0</double>
<double>100.0</double>
</value>
</grip:Input>
<grip:Input step="4" socket="8">
<value>1000000.0</value>
</grip:Input>
<grip:Input step="4" socket="9">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="10">
<value>0.0</value>
</grip:Input>
<grip:Input step="4" socket="11">
<value>1000.0</value>
</grip:Input>
<grip:Output step="4" socket="0" previewed="true"/>
</grip:Step>
<grip:Step name="NTPublish ContoursReport">
<grip:Input step="5" socket="0"/>
<grip:Input step="5" socket="1">
<value>myContoursReport</value>
</grip:Input>
<grip:Input step="5" socket="2">
<value>true</value>
</grip:Input>
<grip:Input step="5" socket="3">
<value>true</value>
</grip:Input>
<grip:Input step="5" socket="4">
<value>true</value>
</grip:Input>
<grip:Input step="5" socket="5">
<value>true</value>
</grip:Input>
<grip:Input step="5" socket="6">
<value>true</value>
</grip:Input>
<grip:Input step="5" socket="7">
<value>false</value>
</grip:Input>
</grip:Step>
</steps>
<connections>
<grip:Connection>
<grip:Output step="0" socket="0" previewed="false"/>
<grip:Input step="1" 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="4" socket="0" previewed="true"/>
<grip:Input step="5" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output source="0" socket="0" previewed="false"/>
<grip:Input step="0" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output step="3" socket="0" previewed="false"/>
<grip:Input step="4" socket="0"/>
</grip:Connection>
<grip:Connection>
<grip:Output step="1" socket="0" previewed="true"/>
<grip:Input step="2" socket="0"/>
</grip:Connection>
</connections>
<settings>
<teamNumber>1806</teamNumber>
<publishAddress>roborio-1806-frc.local</publishAddress>
<deployAddress>roboRIO-1806-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>LiftTracker</className>
<implementWpilibPipeline>false</implementWpilibPipeline>
<saveDir>C:\Users\SWAT\Desktop</saveDir>
<packageName></packageName>
<moduleName>grip</moduleName>
</codeGenerationSettings>
</grip:Pipeline>
2 changes: 2 additions & 0 deletions LiftTracker.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
java -jar LiftTracker.jar
Binary file added LiftTracker.jar
Binary file not shown.
Binary file not shown.
Binary file added bin/LiftTracker$BlurType.class
Binary file not shown.
Binary file added bin/LiftTracker.class
Binary file not shown.
Binary file added bin/Processing.class
Binary file not shown.
Binary file added output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 29c42e8

Please sign in to comment.