
Re: How to check the current value of the motor encoder?
Well, first, be sure that the encoders are calculated in clicks, and the number of clicks is that essentially gets you the "position".
But there is a function for getting the number of clicks the encoder is on.
for a motor named MotorD, the function would be nMotorEncoder[MotorD];
so if you are doing it like a variable, it would be.
int x = nMotorEncoder[MotorD]; // where x is the variable.
For a full list of functions and other things, use the following link:
http://www.education.rec.ri.cmu.edu/con ... _Guide.pdf