robotpy-wpilib
robotpy-wpilib copied to clipboard
`import wpilib` in repl kills interpreter
Importing wpilib in a repl on the roborio causes the python interpreter to be killed.
Anything interesting in dmesg?
Nope. It only happens as lvuser. Doesn't happen as admin though.
In both cases, it does kill and restart the robot code under a new pid.
The behavior I expected was that the robot code would be killed and the repl would stay.
I think this is expected behaviour when you SSH in as lvuser. From what I've heard, the process that runs automatically as frcUserProgram has more privileges than a regular lvuser process (despite it also running as lvuser). Someone from the WPILib team could probably confirm.