View Single Post
  #1   Spotlight this post!  
Unread 31-01-2010, 09:19
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Motor to work like a servo...what's the best method?

When we push a joystick button we would like a motor to spin forward 90deg, reverse direction, and stop when it returns to home.

Currently we have limit switches to reverse the direction of the motor and indicated when it is back to home position, but with the code we wrote it only operates when the button is pushed. If we take our finger of the button the motor stops and does not return home. Should we set up a State Machine?

Can we use the limit switches on the Jaguars to make this happen?

Where do we get good basic information on CAN? CAN looks interesting but we don't understand what the advantages and uses of CAN are.

Last edited by grosh : 31-01-2010 at 09:47.
Reply With Quote