1
0
Fork 0

수치 조정

This commit is contained in:
Sangbum Kim 2017-09-23 15:16:20 +09:00
parent 8b47f83434
commit e35a6df56d
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ 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.0").Float64()
I = app.Flag("integral-gain", "Set integral gain value.").Short('i').Default("0.6").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()
SetPoint = app.Flag("set-point", "Set pointe tempeture").Short('t').Default("40.0").Float64()
log = logger.NewLogger("cpu_ctrl")
)