Log in

View Full Version : How to kill robot program?


euhlmann
26-01-2016, 07:39
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?

jojoguy10
26-01-2016, 09:38
Well, if you're running the driver station, there's always the E-Stop (Spacebar). Is that what you're looking for?

virtuald
26-01-2016, 10:23
"frcKillRobot.sh -t" will kill existing code and will not restart it.

euhlmann
26-01-2016, 10:25
Well, if you're running the driver station, there's always the E-Stop (Spacebar). Is that what you're looking for?

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.