View Single Post
  #3   Spotlight this post!  
Unread 01-02-2015, 10:25
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Toggle Between Two Cameras in Vision Processing

I'm not saying that this is going to fix everything, but the code is only reading the joystick once, outside the loop.

So move the Get Value inside each loop and at least at that point, you can probe and see that the buttons are working.

Greg McKaskle
Reply With Quote