How to interpret encoder position

Hello,
I am using the Rev Neo integrated encoder and I am able to read the position value, but I don’t know what units that translates into.

Thanks for any help you can provide.

EncoderP

2 Likes

The default position output is in rotations of the output shaft.

You can use .setPositionConversionFactor() to automatically convert position to your own units like meters.

1 Like

Thank you! How do I find/calculate the conversion factor for my desired units?

You have to use the gear ratio from your motor to your output shaft. I think the standard AndyMark chassis has a ratio of 10:1. Then you need to calculate the circumference of your wheels. Divide the circumference by the gear ratio to get your conversion calculation.

1 Like

10.71:1 to be specific for the AndyMark AM14U5 kitbot chassis in its default configuration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.