Commands should probably be running with the stepper, not in in the Robot periodic methods. It should run after sensor input/differentiators, but before controllers (so execution order of 100?). TeleopPeriodic is only called when data from the driver station is received. So any network issues affect it also. DriveTank and things that use joysticks would still have to be updated from there.
Commands should probably be running with the stepper, not in in the Robot periodic methods. It should run after sensor input/differentiators, but before controllers (so execution order of 100?). TeleopPeriodic is only called when data from the driver station is received. So any network issues affect it also. DriveTank and things that use joysticks would still have to be updated from there.