Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Robo Rio User Logs (http://www.chiefdelphi.com/forums/showthread.php?t=154486)

ap303 30-01-2017 18:35

Robo Rio User Logs
 
At random intervals while running open CV code, the rio will crash and refuse to connect over ethernet or usb. Because of this, we can't get the crash report until we reset the rio. When we reset it, the new log overwrites the old one. Does anyone know if there's a way to get the logs to save?

Thanks

--------------
My opinions do not necessarily reflect those of my team.

euhlmann 31-01-2017 08:00

Re: Robo Rio User Logs
 
Quote:

Originally Posted by ap303 (Post 1638368)
At random intervals while running open CV code, the rio will crash and refuse to connect over ethernet or usb. Because of this, we can't get the crash report until we reset the rio. When we reset it, the new log overwrites the old one. Does anyone know if there's a way to get the logs to save?

Thanks

--------------
My opinions do not necessarily reflect those of my team.

Anything in the DriverStation log viewer?

Mark McLeod 31-01-2017 08:55

Re: Robo Rio User Logs
 
You might try disabling automatic user code start through the roboRIO web browser page.
Then start your user code via command line.

ap303 31-01-2017 17:33

Re: Robo Rio User Logs
 
We managed to SSH into the Rio but we are having trouble running the code through the Linux terminal using the command
Code:

java -jar FRCUserProgram.jar
. It gives the error message
Code:

-sh: java: command not found
. What is the command to run the user code?

Thanks

SamCarlberg 31-01-2017 18:04

Re: Robo Rio User Logs
 
Assuming you SSH'd as lvuser, run

Code:

./FRCRunRobotProgram.sh
(I forget the actual name of the script... it's close to what I wrote above)


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

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