Closed AnshulBompada closed 2 months ago
Make sure to offset the value in getAbsolutePosition() itself public void resetAzimuthPosistion(){ azimuthEncoder.setPosition(getAbsolutePosistion().getRotations() * SwerveConstants.angleGearRatio); }
Make sure to offset the value in getAbsolutePosition() itself public void resetAzimuthPosistion(){ azimuthEncoder.setPosition(getAbsolutePosistion().getRotations() * SwerveConstants.angleGearRatio); }