Thread: Possessed robot
View Single Post
  #3   Spotlight this post!  
Unread 22-02-2011, 10:40
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: Possessed robot

Quote:
Originally Posted by Straberrie View Post
What type of a function did your programmer use for the arm? Is it inside a separate while loop? Last year, if I used a while loop for anything inside the operator control, I would have to insert the Tank Drive code inside it because everything outside that while loop would get ignored. So, if you have teleop mode and a while inside, everything inside the while loop will operatre but nothing outside of it will work until the code exited the loop.
so to what I understand from this is that when the function is called it will exit the operator while loop and complete the function before going back into the loop?
Reply With Quote