1
0
Fork 0

pid 값 재조정

This commit is contained in:
Sangbum Kim 2017-09-11 01:58:42 +09:00
parent 6054cc2f0f
commit d85063cfc4
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ var (
app = kingpin.New("cpu_ctrl", "Interactive CPU fan controller").Author("Sangbum Kim") app = kingpin.New("cpu_ctrl", "Interactive CPU fan controller").Author("Sangbum Kim")
verbose = app.Flag("verbose", "Enable verbose mode.").Short('v').Bool() 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() 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() 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("1.0").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() SetPoint = app.Flag("set-point", "Set pointe tempeture").Short('t').Default("38.0").Float64()
log = logger.NewLogger("cpu_ctrl") log = logger.NewLogger("cpu_ctrl")