@Test void deadZone() { assertEquals(MecanumUtil.deadZone(1.0, 0.5), 1.0); assertEquals(MecanumUtil.deadZone(0.8, 0.5), 0.8); assertEquals(MecanumUtil.deadZone(-0.6, 0.5), -0.6); assertEquals(MecanumUtil.deadZone(0.5, 0.5), 0.0); assertEquals(MecanumUtil.deadZone(-0.5, 0.5), 0.0); assertEquals(MecanumUtil.deadZone(0.2, 0.5), 0.0); assertEquals(MecanumUtil.deadZone(0.0, 0.5), 0.0); assertEquals(MecanumUtil.deadZone(-0.3, 0.5), 0.0); }
public static double deadZone(double control, double deadZone) { return Math.abs(control) > deadZone ? control : 0; }
MecanumUtil { public static double deadZone(double control, double deadZone) { return Math.abs(control) > deadZone ? control : 0; } }
MecanumUtil { public static double deadZone(double control, double deadZone) { return Math.abs(control) > deadZone ? control : 0; }  }
MecanumUtil { public static double deadZone(double control, double deadZone) { return Math.abs(control) > deadZone ? control : 0; }  static double deadZone(double control, double deadZone); static MecanumPowers powersFromAngle(double theta, double thetaScale, double turn); }
MecanumUtil { public static double deadZone(double control, double deadZone) { return Math.abs(control) > deadZone ? control : 0; }  static double deadZone(double control, double deadZone); static MecanumPowers powersFromAngle(double theta, double thetaScale, double turn); static final MecanumPowers FORWARD; static final MecanumPowers LEFT; static final MecanumPowers BACKWARD; static final MecanumPowers RIGHT; static final MecanumPowers FORWARD_LEFT; static final MecanumPowers BACKWARD_LEFT; static final MecanumPowers BACKWARD_RIGHT; static final MecanumPowers FORWARD_RIGHT; static final MecanumPowers COUNTERCLOCKWISE; static final MecanumPowers CLOCKWISE; static final MecanumPowers STOP; }