View Single Post
  #5   Spotlight this post!  
Unread 06-03-2005, 22:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Autonomous loop speed

In the User_Autonomous() function is a while loop that runs as fast as it can. Inside that is an if that is satisfied every time data is available each 26 ms. So you can place code inside the if to run it at the same rate as the normal user_routine, or you can place it outside the if (but still inside the while) to run it as fast as possible (like the normal user_routine_fast).