View Single Post
  #4   Spotlight this post!  
Unread 10-05-2012, 19:37
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: CANJaguar Control C++

Quote:
Originally Posted by Andrew Schreiber View Post
This is because you are using a PID controller on them. You are telling it to try to get to a certain value. Try not using the PID controller (try removing the cjag.EnableControl(); line and see if you get the same behavior)
Also note that the mode you're using uses neither PID nor encoders. You want to use speed control to use them.

It also seems to me, looking through the FIRSTForge documentation, that kPercentVbus is no longer a control mode, and has been renamed to be "kPercentVoltage".
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
Reply With Quote