Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Running GRIP on the computer (http://www.chiefdelphi.com/forums/showthread.php?t=154838)

whitetail 06-02-2017 16:34

Running GRIP on the computer
 
I have made a GRIP program to recognize the two targets on the side of the gear lift and then added a NTPublish.ContoursReport as my last block. My question is what do I do next. I want to run grip through our driver station and I am using Java as the programming langue.

gerthworm 06-02-2017 16:38

Re: Running GRIP on the computer
 
There are java classes to read networktables values on the roboRIO, but....

We attempted this last year, but found the camera->DS->GRIP->RIO delay to be unacceptable.

Better this year would be to have GRIP generate the required .java code, and you could take that and integrate it into your regular robot code. Unfortunately, I have not actually attempted this yet, so I don't know much of the details on it.

whitetail 07-02-2017 13:29

Re: Running GRIP on the computer
 
I think I figured out how to put in on the computer but my question is what do I fill in for the package name?

dvanvoorst 07-02-2017 16:37

Re: Running GRIP on the computer
 
Quote:

I think I figured out how to put in on the computer but my question is what do I fill in for the package name?
Use the package name for your robot project, which is the top line of your Robot.java class. Ours is: org.usfirst.frc.team2771.robot

Then make sure you set the Save Location to be the folder that contains the java class files for your robot program. Then it will place the GripPipeline.java file right where it needs to be for your project.

If you haven't already seen this screensteps document, you'll want to check it out. Using Generated Code in a Robot Program


All times are GMT -5. The time now is 00:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi