pid 값 재조정
This commit is contained in:
parent
6054cc2f0f
commit
d85063cfc4
4
main.go
4
main.go
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue