View Single Post
  #2   Spotlight this post!  
Unread 26-03-2013, 00:41
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,112
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: Vision Tracking Help

What you posted has several While loops visible. None of them ever terminate. The big Case containing the Flat Sequence requires input from two of those loops. Since the loops never produce a value, the Case will never be able to run.

I suspect what you really want is to put the Case inside the loop where you're reading the analog input named POT, and to move the stuff from the Joystick-reading loop into that same loop as well.
Reply With Quote