Quote:
Originally Posted by Jared
I don't know if this is causing this error, but I wouldn't instantiate OI twice like you're doing. I would only instantiate OI in robotInit(), where all subsystems are guaranteed to be constructed. If you change the line "public static OI oi = new OI()" to "public static OI oi", you may fix the problem.
|
Whoops, didn't even notice that... I made a new project and copied over the code and now also changed that double initialization like that. I'll have to see if it works or not tomorrow though. Thanks for spotting that silly mistake.
*Git also probably had nothing to do with it either, so that was a waste of time copying all that too, but oh well if it works I'll be a happy man.