View Single Post
  #3   Spotlight this post!  
Unread 22-03-2016, 22:33
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: Teleop Automated Sequences

The 20 millisecond wait in the outer While block doesn't affect the timing inside the flat sequence. It only matters when the condition to start the sequence hasn't yet happened, and all it does is ensure that the code doesn't use all the CPU time while it's waiting for the right input.

If you post your Autonomous code and tell us what you want it to do, we can look at it and tell you what you need to change to make it do that.