diff options
| author | James Feist <james.feist@linux.intel.com> | 2018-08-31 14:07:12 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2018-09-12 14:38:03 +0000 |
| commit | 22c257abd27fd76ed5280ef5c717eef1f28bfca9 (patch) | |
| tree | fc7c19e32d37af0fddbe670c0f95c91820eca0cb /test | |
| parent | 8c3c51eed8584ad662014c10cc031b5bd8399415 (diff) | |
| download | phosphor-pid-control-22c257abd27fd76ed5280ef5c717eef1f28bfca9.tar.gz phosphor-pid-control-22c257abd27fd76ed5280ef5c717eef1f28bfca9.zip | |
Add stepwise controller
This adds the ability to use stepwise curves alongside
pid control. This creates a base controller class that
pidcontroller and stepwise controller inherit from.
Note: Hysteresis to come in follow-on patch
Tested-by:
Created a stepwise controller and noticed that when it
crossed a threshold that it contributed to the pwm setting.
Change-Id: I6cf842f80eaccafc905d620970afe91e2092d568
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 6622169..4a01994 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -32,17 +32,17 @@ util_unittest_LDADD = $(top_builddir)/util.o pid_zone_unittest_SOURCES = pid_zone_unittest.cpp pid_zone_unittest_LDADD = $(top_builddir)/pid/ec/pid.o \ - $(top_builddir)/sensors/manager.o $(top_builddir)/pid/controller.o \ + $(top_builddir)/sensors/manager.o $(top_builddir)/pid/pidcontroller.o \ $(top_builddir)/pid/zone.o pid_thermalcontroller_unittest_SOURCES = pid_thermalcontroller_unittest.cpp pid_thermalcontroller_unittest_LDADD = $(top_builddir)/pid/ec/pid.o \ - $(top_builddir)/pid/util.o $(top_builddir)/pid/controller.o \ + $(top_builddir)/pid/util.o $(top_builddir)/pid/pidcontroller.o \ $(top_builddir)/pid/thermalcontroller.o pid_fancontroller_unittest_SOURCES = pid_fancontroller_unittest.cpp pid_fancontroller_unittest_LDADD = $(top_builddir)/pid/ec/pid.o \ - $(top_builddir)/pid/util.o $(top_builddir)/pid/controller.o \ + $(top_builddir)/pid/util.o $(top_builddir)/pid/pidcontroller.o \ $(top_builddir)/pid/fancontroller.o dbus_passive_unittest_SOURCES = dbus_passive_unittest.cpp |

