Thread: Encoder trouble
View Single Post
  #7   Spotlight this post!  
Unread 14-02-2010, 20:10
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Encoder trouble

To get to the disc, pull off the plastic housing on the back. It is the silver disc pressed on to the output shaft, mounted close to the circuit board. If you turn it on with the back off, a red light should light up the disc. Pull it off, and check to see if there is anything on it. Make sure the side with 360 lines is facing in, that could be a problem if it isn't. Clean it off, and put it back on it without touching the side with the lines.

Assuming you are using 3:1 off a toughbox with kit wheels, your scaling should be set to 0.00166666666666666... go get to feet. I would recommend using 0.02 to get to inches in your scaling, because you will primarily be using them in Autonomous for distance calculations its much nicer to type in whole inches instead of fractions of feet. All of this assumes 1x decoding, divide that by the decoding type to get your scaling. You shouldn't need more than 1x decoding.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack