Often our team runs into the problem where driver station console output is scrambled and riolog isn’t working. Last year, what we did to view program output was kill FRCUserProgram and start it via ssh. However now the rio restarts the robot program when it crashes and we aren’t able to permanently kill it.
Is there some way to bypass or turn off the automatic robot program restarting feature?
Well, if you’re running the driver station, there’s always the E-Stop (Spacebar). Is that what you’re looking for?
“frcKillRobot.sh -t” will kill existing code and will not restart it.
Probably not. The whole point is to be able to restart the robot program but have output attached to your ssh session. I’m sure e-stop prevents your robot program from running at all until your reboot the rio, but I’ll try it.