Go to Post But if we just re-play "Triple Play" then what in the world will the Game Design Committee do with all that new-found free time? Since they wouldn't have to come up with a new game, they would have to concentrate on other things - like how to enforce the proposed "no metal on robots" rule. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 11-03-2016, 20:04
sandiskthefrog sandiskthefrog is offline
Registered User
FRC #0503
 
Join Date: Mar 2016
Location: Michigan
Posts: 4
sandiskthefrog is an unknown quantity at this point
Re: How to run GRIP in headless mode?

I don't have a good grip on how GRIP works exactly (pun not intended, but appreciated nonetheless). Basically I'm trying to get my PC to do all the heavy lifting of applying filters in grip and calculating the network tables, and the only thing my robot needs to do is to get the network table values and use them in our code.

Edit: While I have you, does this
https://github.com/WPIRoboticsProjec...EW-FRC-program
mean that I only have to deploy once to the RIO if I have this in my code? Then it'll run grip off of the RIO next time I run my robot code?
Thanks.

Last edited by sandiskthefrog : 11-03-2016 at 20:19. Reason: Point of clarification
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2016, 16:32
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 69
codedr will become famous soon enoughcodedr will become famous soon enough
Re: How to run GRIP in headless mode?

try this ....
Code:
java -cp C:\Users\Robot1\AppData\Local\GRIP\app\core-1.3.0-rc1-all edu.wpi.grip.core.Main  decentGripOutside.grip
Or this ...
Code:
java -XX:-OmitStackTraceInFastThrow -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea -cp C:\Users\Robot1\AppData\Local\GRIP\app\core-1.3.0-rc1-all edu.wpi.grip.core.Main  decentGripOutside.grip
Reply With Quote
  #3   Spotlight this post!  
Unread 13-03-2016, 04:30
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: How to run GRIP in headless mode?

Code:
C:\Users\Robot1\AppData\Local\GRIP\GRIP.exe --headless <file.grip>
No need to deploy first unless you're running on the RIO or something.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
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 10:14.

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