Go to Post The next hint will be game hint #3. Everyone will go crazy trying to figure out which of the fake hints was hint #2. - Joe Ross [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2015, 18:38
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Robot Initilization failure on deploy

Did you rename your class after creating the project?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2015, 18:47
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 Joe Ross View Post
Did you rename your class after creating the project?
No, I left the main class' name the same. I do use EGit with eclipse though, so do you think it's possible that it might affect it in someway?
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2015, 18:55
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Robot Initilization failure on deploy

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.
Reply With Quote
  #4   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
Reply


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 22:27.

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