View Single Post
  #1   Spotlight this post!  
Unread 07-02-2016, 00:49
RyanCheng RyanCheng is offline
Registered User
FRC #3482
 
Join Date: Feb 2016
Location: Westmont
Posts: 2
RyanCheng is an unknown quantity at this point
Encoder Information Unknown

Hello,

I'm the lead programmer for FRC team 3482 and we've been having some trouble using the am-2816a encoder from your website. We have successfully hooked it up and it appears to function correctly but we have had some trouble using it. The goal is to have PID absolute position control but we haven't found the settings required. Primarily, we believe we need a codes/counts per revolution number for the encoder but its unclear if that's the same as the pulses per revolution number listed on the product page. Currently, we just have the encoder hooked up to the roboRIO directly but may try hooking it straight into a talon srx (so we can use code that is confirmed to work on the ctr encoders -- https://github.com/CrossTheRoadElec/...ot/Robot.java). Could you clarify what the codes/counts per revolution is and if available provide some sample code for closed loop position control?

Thanks,
Corey Mason