View Single Post
  #2   Spotlight this post!  
Unread 24-01-2012, 20:05
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,751
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: Code in Periodic Tasks working with teleop

This looks like the correct way to write it. The periodic should be running during all phases, even disabled, so if the Joystick 1 and Shooter are opened properly, I'd expect the code to work.

Have you checked the Diagnostics tab to see if errors are being returned. That may help.

The next thing I'd do is to place breakpoints or probes within the switch statement and in the teleop to see the point where it fails.

Greg McKaskle
Reply With Quote