We have been getting a “Warning: robots don’t quit” error every time we run our code. Does anyone know of a way to fix it? Thanks a ton!
We are getting the same error, and after that, it says something along the lines of cRIO: robotDrive output not updated often enough.
You shouldn’t see that message unless:
A) You overrode either the robotMain() or startCompetition() method, and your method actually exits instead of looping forever. See SimpleRobot.startCompetition() for typical control flow.
B) An exception occurred which was not caught by your robot’s code. In this case, the exception stack trace should have been printed.
Like Derek said, it is usually an exception in the program that causes that message where something crashed in your program, it caused an exception (java error), and nothing responded the error.
If you can’t find it, please post the rest of the output for a single run of the program.
Brad