From d85063cfc4bd92d31e48180f74a1108d7d496c95 Mon Sep 17 00:00:00 2001 From: Sangbum Kim Date: Mon, 11 Sep 2017 01:58:42 +0900 Subject: [PATCH] =?UTF-8?q?pid=20=EA=B0=92=20=EC=9E=AC=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 43151c3..66dc2e0 100644 --- a/main.go +++ b/main.go @@ -21,8 +21,8 @@ var ( app = kingpin.New("cpu_ctrl", "Interactive CPU fan controller").Author("Sangbum Kim") verbose = app.Flag("verbose", "Enable verbose mode.").Short('v').Bool() P = app.Flag("proportional-gain", "Set proportional gain value.").Short('p').Default("1.5").Float64() - I = app.Flag("integral-gain", "Set integral gain value.").Short('i').Default("0.3").Float64() - D = app.Flag("derivative-gain", "Set derivative gain value.").Short('d').Default("1.0").Float64() + I = app.Flag("integral-gain", "Set integral gain value.").Short('i').Default("0.4").Float64() + D = app.Flag("derivative-gain", "Set derivative gain value.").Short('d').Default("2.0").Float64() SetPoint = app.Flag("set-point", "Set pointe tempeture").Short('t').Default("38.0").Float64() log = logger.NewLogger("cpu_ctrl")