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!