View Single Post
  #10   Spotlight this post!  
Unread 29-01-2012, 16:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,584
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Motor Controller Amt per Motor?

Quote:
Originally Posted by mikets View Post
What if you are not using PWM but the Jaguar CAN bus? I assume we will just program the same value to both motors and it will work? We haven't done two motors in the same gear-box before so we don't know what to expect in terms of programming. The concern was that code can only program one motor at a time (issuing CAN command to the Jaguar). So one motor will start a little earlier than the other one. So there is a short period that one motor would carry the whole load + turning the second motor at the same time. Probably not too much to worry but just like to hear your opinions on this.
If you just want to use %VBus mode or voltage mode, the jaguars have a sync feature. You send the output to each jaguar individually, and define a sync group. Then you send the update sync group command, which tells each jaguar to output the previous command at the same time.

I haven't looked at how it's implemented in C++ or Java, but it's pretty easy in LabVIEW.