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.

Anything in the DriverStation log viewer?

You might try disabling automatic user code start through the roboRIO web browser page.
Then start your user code via command line.

We managed to SSH into the Rio but we are having trouble running the code through the Linux terminal using the command

java -jar FRCUserProgram.jar

. It gives the error message

-sh: java: command not found

. What is the command to run the user code?

Thanks

Assuming you SSH’d as lvuser, run


./FRCRunRobotProgram.sh

(I forget the actual name of the script… it’s close to what I wrote above)