|
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
|