-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79d9faa
commit 48fac42
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# LiftTracker | ||
Vision Tracking for the 2017 FRC Game | ||
|
||
[![Build Status](https://travis-ci.org/TheGuyWhoCodes/LiftTracker.svg?branch=master)](https://travis-ci.org/TheGuyWhoCodes/LiftTracker) | ||
|
||
Here are the steps to get this working: | ||
- Clone the repository, using `git clone https://github.com/TheGuyWhoCodes/LiftTracker.git` | ||
- Make sure you have the opencv library downloaded, and Network Tables 3.0 (included) | ||
- Import the project into Eclipse, and go to your build path and add the included NetworkTables jar, and opencv-XXX.jar that you downloaded | ||
- Change the variables inside the code to your situation, and calculate the distance constant (tutorial in my post [here](https://www.chiefdelphi.com/forums/showthread.php?p=1638376#post1638376)) | ||
- Open the .grip file included inside of GRIP. Tune your HSV values to your liking using your webcam and go to Tools->Generate code | ||
- Using the Generate Code feature will export a *.java file. Open that file and copy all the code, and replace the LiftTracker.java code inside the project | ||
- After that, export it as a runnable jar, (File->Export->Java->Runnable JAR file). | ||
- Run the jar file using `java -jar blahblahblah.jar` | ||
- Vision Track! | ||
|
||
If you have any issues, open up an issue and I'll be happy to look at it. |