Package frc.team670.robot.utils
Class MathUtils
java.lang.Object
frc.team670.robot.utils.MathUtils
public class MathUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MathUtils()
-
Method Summary
Modifier and Type Method Description static double
convertEncoderTicksToInches(int ticks)
static double
convertInchesToEncoderTicks(double inches)
-
Constructor Details
-
MathUtils
public MathUtils()
-
-
Method Details
-
convertEncoderTicksToInches
public static double convertEncoderTicksToInches(int ticks)- Parameters:
ticks
-- Returns:
- corresponding inch value for number of ticks
-
convertInchesToEncoderTicks
public static double convertInchesToEncoderTicks(double inches)
-