View Single Post
  #7   Spotlight this post!  
Unread 25-01-2015, 19:01
gastew15's Avatar
gastew15 gastew15 is offline
Registered User
FRC #3655 (tractor technicians)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Mason
Posts: 4
gastew15 is an unknown quantity at this point
Re: Robot Initilization failure on deploy

Quote:
Originally Posted by Jared View Post
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.

Last edited by gastew15 : 25-01-2015 at 19:04.
Reply With Quote