Package frc.lib5k.components.drive
Class InputUtils
- java.lang.Object
-
- frc.lib5k.components.drive.InputUtils
-
public class InputUtils extends java.lang.ObjectUtils for working with drive inputs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInputUtils.ScalingModeScale type / mode
-
Constructor Summary
Constructors Constructor Description InputUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublescale(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
-
-