Rename bad variables in Storage Commands

This commit is contained in:
Keenan D. Buckley
2020-03-08 14:54:15 -06:00
parent 9ad9b76cc7
commit e7d9842416
3 changed files with 34 additions and 26 deletions
@@ -95,6 +95,14 @@ public class Storage extends SubsystemBase {
return m_encoder.getPosition();
}
public double getEncoderPosInches(){
return motorRotsToInches(getEncoderPos());
}
public double getEncoderVel(){
return m_encoder.getVelocity();
}
/**
* @param motorRots
* @return inches