View Single Post
  #2   Spotlight this post!  
Unread 09-02-2013, 12:48
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Robot "twitching?"

Quote:
Originally Posted by Greg McKaskle View Post
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?
Reply With Quote