Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PID ¶
PID is a temperature controller that implements PID control. It satisfies the control.Strategy interface. https://en.wikipedia.org/wiki/Bang%E2%80%93bang_control
func NewPid ¶
func NewPid(heatingElem *heating_element.HeatingElement, sampler *temperature.Monitor) (*PID, error)
func (*PID) GetTargetTemperature ¶
func (c *PID) GetTargetTemperature() control.TargetTemperature
func (*PID) SetTargetTemperature ¶
func (c *PID) SetTargetTemperature(temperature float32) control.TargetTemperature
Click to show internal directories.
Click to hide internal directories.