protected void end() { pidControllerDistance.disable(); drivetrainStrafe.mecanumPolarStrafe(0, 0); drivetrainRotation.mecanumPolarRotate(0); timer.stop(); }
protected void initialize() { pidControllerDistance.enable(); pidControllerDistance.setSetpoint(0); drivetrainStrafe.mecanumPolarStrafe(FORWARD_SPEED, 0); timer.start(); }