Quote:
Originally Posted by Greg McKaskle
Typically, the better solution is to move the delayed code out of teleop and run it in parallel, or make it into a state machine that performs the operations a little at a time over a number of teleop calls.
|
I'm not sure what you guys mean by "run it in parallel." How do I run the fire sequence when a button is pushed in teleop? We made "FIRE" so that multiple things would happen in sequence to shoot the Frisbees without many joystick inputs having to be received at a time. We want to run this sequence in teleop to shoot one frisbee after another until any discs loaded will fire.
Is this delay problem the reason the two motors (motor 1 & 2) don't stay on when the sequence moves to the next frame?