View Single Post
  #8   Spotlight this post!  
Unread 24-01-2015, 15:55
rcdturtle rcdturtle is offline
rcdturtle
AKA: Dick DuCharme
FRC #3534 (House of Cards)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Davison,MI
Posts: 10
rcdturtle is an unknown quantity at this point
Re: Talon SRX QuadEncoder PID Loop

Hello, we are using a Talon SRX controller in position mode set up to use a quadratic encoder with a motor that has a quadrature encoder connected to it. The encoder gives us correct values when we monitor it, but when we try to use it and a PID to stop the motor at a certain point, the motor continues to turn regardless of the fact that the encoder's values are past the setpoint; it doesn't even attempt to slow down.

The same goes for the soft limit function, when we set a soft limit and have to motor turn toward the limit, the motor continues to turn, even past the limit we set. The strange part is, when we try to rotate to motor back - back into the range of values between the soft limits - we can't. The functionality to turn the motor backwards exists, but it refuses to rotate backwards when the values of the encoder are outside the limit we set.