Quote:
Originally Posted by Jay1986
That is not the safest way to accomplish that task nor should it ever be in teleop. You should write the inputs from the joysticks to global variables and read them in period tasks in their appropriate loops.
|
Do you ever have to write them as global variables?
You can just reference the joystick in Periodic Tasks