mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Rename bad variables in Storage Commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user