turret pid tuned and degree conversion

This commit is contained in:
Ryan Manley
2022-03-13 17:57:36 -06:00
parent 68c69d7262
commit cfdac7f069
3 changed files with 13 additions and 12 deletions
@@ -71,7 +71,8 @@ public class Turret extends SubsystemBase {
@Override
public void periodic() {
// This method will be called once per scheduler run
SmartDashboard.putNumber("Turret Angle", m_boomBoomRotateEncoder.getPosition());
SmartDashboard.putNumber("Turret Angle Rotations", m_boomBoomRotateEncoder.getPosition());
SmartDashboard.putNumber("Turret Angle Degrees", m_boomBoomRotateEncoder.getPosition() * ShooterConstants.DEGREES_PER_ROT);
}
/**