View Single Post
  #4   Spotlight this post!  
Unread 15-02-2010, 09:42
Mr-Shutter's Avatar
Mr-Shutter Mr-Shutter is offline
Audiophile
AKA: David
FRC #0612 (Chantilly Robotics)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Virginia
Posts: 29
Mr-Shutter will become famous soon enough
Send a message via AIM to Mr-Shutter
Re: Synchronized Motors

Quote:
Originally Posted by duane View Post
A couple of possible solutions I can imagine:
1. Use some CAN commands to synchronize two speed controllers (I can imagine that this is wishful thinking)
2. Split the encoder connection and connect it to both speed controllers.

Thanks for tips and ideas.
Well, one way is to bring the encoders lines back to the Crio, which has PID loops on it, then you can send both motors the same voltage value.

Another really cool way is to add a CAN command to sync a group of jaguars. The source code is available.

You could splice the encoder lines, but I could see some weird things happening, you will probably want a lower P value.

Good Luck
__________________
I see in logic, Black and White
Reply With Quote