View Single Post
  #4   Spotlight this post!  
Unread 18-02-2010, 02:01
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Autonomous Mode, Independent, Iterative (?)

Autonomous_independent.vi will be called when autonomous begins and terminated when it ends.

Autonomous_iterative.vi will be called at 50hz during Autonomous. The purpose of putting some Independent code in Iterative is to handle periodic tasks that must be run in a loop, such as feeding the watchdog.

So what you will want to do is feed the watchdog in Autonomous_Iterative.vi and put the rest of your code in Autonomous Independent.vi
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote