Go to Post my theory on the matter was always something along the lines of "Oh, we're all girls? What an odd thing for you to notice." - karinka13 [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 16-02-2015, 14:07
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: robotInit() not being called.

I'll look into the source of SampleRobot later, but my guess is that robotInit() is called in the constructor in SampleRobot(). So when you override Robot() in your file, robotInit() doesn't get called any more. To fix that problem (if that were the problem), do super(); at the end of Robot().
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2015, 14:46
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Re: robotInit() not being called.

Quote:
Originally Posted by Patrick Chiang View Post
I'll look into the source of SampleRobot later, but my guess is that robotInit() is called in the constructor in SampleRobot(). So when you override Robot() in your file, robotInit() doesn't get called any more. To fix that problem (if that were the problem), do super(); at the end of Robot().
Thanks, I think something like this will help!
__________________
100101010101
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:25.

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