Package frc.lib5k.components.drive
Class InputUtils
- java.lang.Object
-
- frc.lib5k.components.drive.InputUtils
-
public class InputUtils extends java.lang.Object
Utils for working with drive inputs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InputUtils.ScalingMode
Scale type / mode
-
Constructor Summary
Constructors Constructor Description InputUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
scale(double val, InputUtils.ScalingMode mode)
Scale a value
-
-
-
Method Detail
-
scale
public static double scale(double val, InputUtils.ScalingMode mode)
Scale a value- Parameters:
val
- Valuemode
- Type of scale- Returns:
- Scaled value
-
-