|
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
|