Fix odometry to use meters as units

This commit is contained in:
Keenan D. Buckley
2020-02-12 21:32:33 -07:00
parent 80868d1fd7
commit bff9793caf
2 changed files with 24 additions and 7 deletions
@@ -63,6 +63,7 @@ public final class Constants {
public static final double INCHES_PER_WHEEL_REV = WHEEL_DIAMETER_INCHES * Math.PI;
public static final double TICKS_PER_INCH = TICKS_PER_WHEEL_REV/INCHES_PER_WHEEL_REV;
public static final double INCHES_PER_TICK = 1/TICKS_PER_INCH;
public static final double INCHES_PER_METER = 39.370;
}
public static final class IntakeConstants {