View Single Post
  #8   Spotlight this post!  
Unread 17-01-2015, 17:26
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Talon SRX QuadEncoder PID Loop

Quote:
Position and Speed are the control modes I'm talking about. You must be in one of these modes for there to be a ClosedLoopError. How else will the Talon know whether to calculate ClosedLoopError in position or in velocity?

If you are selecting PercentVbus, then the Set() calls will simply control the output voltage of the Talon (no closed loop). And CloseLoopErr will not change since Talon won't calculate it.

What errors did it give you? Maybe rebuild the index? https://wpilib.screenstepslive.com/s...ildingTheIndex
We rebuilt the index and set it to kSpeed and it worked. Thanks for your help!