View Single Post
  #1   Spotlight this post!  
Unread 08-02-2006, 00:26
NextPerception NextPerception is offline
Sleep-Deprived
AKA: Matt
FRC #0437 (Richardson Robotics)
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2005
Location: Richardson, TX
Posts: 69
NextPerception has a spectacular aura aboutNextPerception has a spectacular aura aboutNextPerception has a spectacular aura about
Send a message via AIM to NextPerception
Will camera keep running if i have a while statement going

I have a while statement in Default_Routine that starts when a button is pressed, keeps moving the drive motors until the target is strait ahead of the robot (the pan servo = 127), and then leaves the while loop.
Now here is my question...
during the while loop will the camera keep tracking the target because it is interupt driven or will the while loop overide the camera's tracking interupts and just get me stuck in the loop because the camera wont update.

i am trying to have my robot aim with it's drive wheels when i press a button
__________________
What is this S - L - E - E - P you speak of?
Battlebots - My Robotics Website