Go to Post It's not a proper FIRST season if you don't have a robo-diet before ship date! - Mr MOE [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2017, 16:34
whitetail's Avatar
whitetail whitetail is offline
Registered User
FRC #5407 (Wolf Pack)
Team Role: Driver
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Philadelphia
Posts: 60
whitetail is an unknown quantity at this point
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.
__________________
FRC Team 5407 -Driver, Programmer and Head Control Systems Engineer
2015 MAR Championship Rookie All Star Award
2015 MAR Hatboro-Horsham District Rookie All Star Award
2015 MAR Hatboro-Horsham District event Winner(Thanks 2590 and 2607)
2016 MAR Hatboro-Horsham District event Winner(Thanks 2607 and 1218)
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2017, 16:38
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 80
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2017, 13:29
whitetail's Avatar
whitetail whitetail is offline
Registered User
FRC #5407 (Wolf Pack)
Team Role: Driver
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Philadelphia
Posts: 60
whitetail is an unknown quantity at this point
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?
__________________
FRC Team 5407 -Driver, Programmer and Head Control Systems Engineer
2015 MAR Championship Rookie All Star Award
2015 MAR Hatboro-Horsham District Rookie All Star Award
2015 MAR Hatboro-Horsham District event Winner(Thanks 2590 and 2607)
2016 MAR Hatboro-Horsham District event Winner(Thanks 2607 and 1218)
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2017, 16:37
dvanvoorst dvanvoorst is offline
Registered User
FRC #2771 (Code Red)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Grand Rapids, MI
Posts: 73
dvanvoorst is an unknown quantity at this point
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
__________________

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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