Go to Post Impressive. A harsh reminder of the kind of force that FRC bots exert. - Racer26 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi