Go to Post Great teams with great software have control loops. Clever teams without software have pneumatics. - Chris is me [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
  #1   Spotlight this post!  
Unread 01-11-2013, 05:32 PM
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 65
jfitz0807 is an unknown quantity at this point
SimpleRobot versus IterativeRobot

We decided to switch to java this year. We're trying to get the framework set up.

The RobotBuilder tool created a Robot class that extends IterativeRobot. Most of the examples I have seen on line so far show a Robot class that extends SimpleRobot. What are the pros & cons of each?

Also, for the IterativeRobot, the autonomousPeriodic() and teleopPeriodic() methods both call Scheduler.getInstance().run(). What does this method do? Do I need to add code to these methods or does Scheduler.getInstance().run() call some other methods periodically in which I would put my code?
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 07:39 AM.

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