We are using a CANSparkMax with a brushed motor and a REV through-bore encoder plugged into the top port (where the NEO usually goes)
mEncoder = mMotor.getEncoder(Type.kQuadrature, 8192);
When zero the position, at any point, and turn in one direction, the rotation count looks good and increments correctly and decrements correctly if I go back. If I turn the other way, from wherever it was when I zeroed the position with setPosition
, it jumps to 274. Has anyone else encountered this?
Thanks!