We're using these encoders:
http://www.andymark.com/product-p/am-0180.htm
I'd like to use them on our drive train during autonomous (which has no gearbox (it's just a cim on each side)), and on our lead screw lift mechanism during teleop to hit various levels.
I've looked at some previous posts about encoders, and also at the Team 358 example, but I'm still a little lost at how to program and/or mount them.