View Single Post
  #1   Spotlight this post!  
Unread 25-01-2011, 00:11
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: CAN setX() not working

yes, that would be a problem. Here's the code I used:

Code:
            jag3 = new CANJaguar(3,CANJaguar.ControlMode.kSpeed);
            jag3.setPID(.01, .01, 0);
            jag3.setSpeedReference(CANJaguar.SpeedReference.kQuadEncoder);
            jag3.configEncoderCodesPerRev(100);
            jag3.enableControl();
Reply With Quote