View Single Post
  #2   Spotlight this post!  
Unread 19-02-2012, 02:42
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Using two Jaguars with one encoder

Our team is using a PID loop on the cRIO and C++, so we made a class for the output of the PIDController that just contains two Jaguars and sets them both to the same power. Our class just implements the PIDOutput and the SpeedController classes.

Splitting the encoder's gnd and signal pins to both jaguars may work as well, although I'd be worried about the loops running at slightly different rates or something and then somehow getting off and ruining the motors and/or shafts. If you decide to do this, make sure you don't connect the power for the encoder to each jaguar, just connect it to one. The gnd and the two signals should go to both though.