|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
GRIP needs to be reloaded each time the robot is restarted
So we *finally* have a GRIP program that does everything we need to and works well. While testing however, we found that whenever the robot is turned off and turned back on, GRIP is no longer loaded. We were wondering if anyone else has had this problem and found a solution to it. Thanks!
- Team 1100 Software Subteam |
|
#2
|
|||
|
|||
|
Re: GRIP needs to be reloaded each time the robot is restarted
We ran into this problem last night and were about ready to make a post about it. Don't know if running grip on a coprocessor will fix this problem.
|
|
#3
|
||||
|
||||
|
Re: GRIP needs to be reloaded each time the robot is restarted
Quote:
|
|
#4
|
||||
|
||||
|
Re: GRIP needs to be reloaded each time the robot is restarted
So a few of those I mentor have been playing with GRIP.
It seems it runs a Java JAR file on the RoboRIO to talk to OpenCV. The description of GRIP under 'How was GRIP made' Have you listed out the processes when it is working via PuTTY and SSH? Quote:
a = show processes for all users u = display the process's user/owner x = also show processes not attached to a terminal The grep will search for any line in the output that contains the work 'java'. You should see your GRIP project name on one of the running JAVA processes something like this: Quote:
I would expect that to automatically start somewhere it must call Java to run that JAR file at restart. |
|
#5
|
|||
|
|||
|
Re: GRIP needs to be reloaded each time the robot is restarted
I am only at the experimentation stage, but hoping to do something closer to production tonight. Once the GRIP jar file is deployed (using the GRIP app), is it supposed to start automatically when the robot is rebooted or do we need to create our own startup script? Anyone know? Also, what we will actually need to do is:
Let the robot code launch - robot code will set the exposure and brightness from preferences - robot code will disconnect from the camera Need to launch the GRIP jar file The above is needed because, based on my initial testing, if you adjust the exposure and brightness, they reset to some default value on power cycle and GRIP has no option to set the values |
|
#6
|
|||
|
|||
|
Re: GRIP needs to be reloaded each time the robot is restarted
You need to start up GRIP on your own, it does not restart with your robot code. The GRIP guys have a tutorial on their GitHub that you can look at here: https://github.com/WPIRoboticsProjec...va-FRC-program
|
|
#7
|
||||
|
||||
|
Re: GRIP needs to be reloaded each time the robot is restarted
Quote:
|
|
#8
|
|||
|
|||
|
Re: GRIP needs to be reloaded each time the robot is restarted
Quote:
|
|
#9
|
|||
|
|||
|
Re: GRIP needs to be reloaded each time the robot is restarted
Quote:
- Team 1100 Software Subteam |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|