Open chauser opened 8 months ago
Additional info: I suspect this may be related to being right on the edge of running out of memory. After killing the NI web server, with a later version of the same code (that actually ran out of memory with the web server running) the "restart robot code" button again works.
Describe the bug Two teams have reported that the Restart Robot Code button on the Driver Station does not work with their code. See https://www.chiefdelphi.com/t/2024-driver-station-restart-robot-code/455946 In our case this happens on a RoboRIO 1 but not on a RoboRIO 2 running the same code. The RoboRIO 1 does not have any of the CAN devices attached that the code expects so it prints a lot of error messages. In all the testing I've done it has also not had any joysticks attached leading to even more messages. The behavior is that when clicked the "Restart Robot Code" does nothing that is apparent in the console and the code just keeps running. Today I tried connecting Phoenix Tuner X to the RoboRIO 1 and discovered that its button for restarting Java/C++ (found under Settings/Advanced FRC) in fact works.
To Reproduce Not known under what exact conditions this occurs.
Expected behavior When the Restart Robot Code button is pressed the running robot code shuts down and restarts.
Desktop (please complete the following information):