Go to Post Have I ever poked fun at you? OK, maybe Heidi. and JVN. And Dave Lavery. and Andy Baker. and .... all right, I guess I deserve it. - Gary Dillard [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
  #6   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
 


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 09:16.

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