View Single Post
  #10   Spotlight this post!  
Unread 11-03-2011, 19:56
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: Resetting Encoder

We're not 100% certain of this, but our experience with using an indexed encoder with the Jaguar closed-loop control has been pretty bad. We're very likely going to disconnect the index pin tomorrow. The basic issue here is that it doesn't seem that a scheme where the encoder count is reset by the index works very well, the PID control seems to get really confused by the wrapping that happens when you go from 0 to full-count (for one revolution) and then back to zero -- this proably holds in either direction of rotation.

Has anyone gotten this to work? I think if you were to use some type of switch connected to the index pin you might be OK, as long as you either aren't using closed-loop control, or only reset the index once (not once per
revolution). What I'm wondering is if anyone has gotten closed-loop control with a real index encoder to work.
Reply With Quote