|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
How to run GRIP in headless mode on the driver station?
Hello!
I'd like to be able to run GRIP in headless mode on the driver station such that the drivers can log in and GRIP starts up along with our vision pipeline without having to navigate the GRIP menus to load the .grip file. Are there command line options for GRIP to 1. start in headless mode and 2. automatically load and run a .grip pipeline? Thanks! David |
|
#2
|
||||
|
||||
|
Re: How to run GRIP in headless mode on the driver station?
I think this should work. Run this from a command prompt.
Code:
java -jar C:\Users\USERNAME\AppData\Local\GRIP\app\core-1.2.0-all.jar [MY_PROJECT.GRIP] Code:
Loading Dependency Injection Framework Feb 08, 2016 11:01:56 PM java.util.logging.LogManager$RootLogger log CONFIG: Configuration done. Feb 08, 2016 11:01:56 PM java.util.logging.LogManager$RootLogger log CONFIG: GRIP Version: 1.2.0 platform: /Linux/amd64/ Feb 08, 2016 11:01:57 PM edu.wpi.grip.core.Main start INFO: Loading file test.grip Feb 08, 2016 11:01:57 PM edu.wpi.grip.core.Main start INFO: SUCCESS! The project is running in headless mode! Feb 08, 2016 11:01:57 PM edu.wpi.grip.core.PipelineRunner$1 startUp INFO: Pipeline Starting |
|
#3
|
|||
|
|||
|
Re: How to run GRIP in headless mode on the driver station?
Hi Thomas.
Unfortunately I get an exception when I try to run GRIP in headless mode on Windows: C:\Users\David>java -jar C:\Users\David\AppData\Local\GRIP\app\core-1.2.0-all.jar test.grip Exception in thread "main" java.lang.IllegalArgumentException: Unknown signal: HUP at sun.misc.Signal.<init>(Unknown Source) at edu.wpi.grip.core.Main.main(Main.java:39) I tried setting CLASSPATH to the C:\Users\David\AppData\Local\GRIP\app directory and got the same error. David |
|
#4
|
||||
|
||||
|
Re: How to run GRIP in headless mode on the driver station?
Oh, I guess you can't run in headless mode on Windows. SIGHUP is a unix-specific signal, but it's not really essential that it works except when it's running from the deploy dialog. I can fix it for the next release.
|
|
#5
|
|||
|
|||
|
Re: How to run GRIP in headless mode on the driver station?
Sounds good. Looking forward to an update.
Thanks! David |
|
#6
|
|||
|
|||
|
Re: How to run GRIP in headless mode on the driver station?
Hello, just wondering if there was ever any solution that was released allowing you to run grip in headless mode on driver station computer. Also, just to be clear, when you run GRIP on ds computer headless, you do not need a coprocessor on the robot such as a pi or jetson board correct? Thank you. I appreciate any forthcoming answers.
|
|
#7
|
||||
|
||||
|
Re: How to run GRIP in headless mode on the driver station?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|