View Single Post
  #2   Spotlight this post!  
Unread 02-06-2009, 12:16 AM
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Continuous vs. Autonomous in Iterative Robot

A "periodic" function is one that is run only at a certain interal--if you look in the c++ reference, you'll see there's actually a function to set how often it runs.

A "continuous" function is called as fast as the robot is able to--there's no way to explicity specify when it should be called.

As for how they interact---the system considers them two functions of the same class. This means they can both use global variables in your file, call each other, etc.
__________________
Get yer robot source code here!
Reply With Quote