Having Trouble syncing Neo's Encoder

Hi, I am trying to set the position on some NEOs encoder the absolute position of a CANcoder but after booting up the position of the NEOs encoder never equals the position of the CANcoder.

this.turningMotor = new CANSparkMax(driveMotorId, MotorType.kBrushless);
this.AbsoluteTurningEncoder = new CANcoder(CANcoderId);
this.TurningEncoder = turningMotor.getEncoder();
TurningEncoder.setPosition(AbsoluteTurningEncoder.getAbsolutePosition().getValue()); TurningEncoder.setPositionConversionFactor(
Constants.DriveKinematics.turningPosConversion);
TurningEncoder.setVelocityConversionFactor(
Constants.DriveKinematics.turningVelocityConversion);

Thank you!

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