|
Code running slow
We've set up our robot's code using java to run Jaguar motor controllers via a DriveTrain subsystem. Thing is, the DriveTrain's execute() method is only being called once every 10-15 seconds. This means that we push the joystick forward, wait a few seconds, and the wheel starts spinning, then, when we release the joystick, we have to wait another 10-15 seconds for it to update again to stop. If you need code/other information, let me know and I'll post it. Thanks in advance.
|