View Single Post
  #26   Spotlight this post!  
Unread 04-02-2012, 11:26
jmailhot jmailhot is offline
Registered User
FRC #0303 (Panther Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Bridgewater, NJ
Posts: 2
jmailhot is an unknown quantity at this point
Another issue with encoders to keep in mind is the "sense" of forward and backwards. Especially if using the encoders with jaguar PID loops, but even with cRIO PID loops, the encoders need to be increasing when the motor is going forward, and the control input sense of forward needs to match the encoder. And the jaguar's sense of positive voltage needs to match also. You may need to reverse the A and B lines of the encoder, or the polarity of the motor, to get these things all having the same definition of "forward". If you add limit switches to the mix, the forward and reverse limit switches must also correspond.