Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissmatchedTypes = errors.New("missatched types")
View Source
var (
ErrNotNumeric = errors.New("setpoint type must be int32 or float32")
)
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
type Constant ¶ added in v0.5.0
func NewConstant ¶ added in v0.5.0
type Increment ¶ added in v0.4.0
type Increment[T storage.SupportedNumeric] struct { // contains filtered or unexported fields }
func NewIncrement ¶ added in v0.4.0
func NewIncrement[T storage.SupportedNumeric](initial T, step T, interval time.Duration) *Increment[T]
type LinearFeedback ¶ added in v0.3.0
type LinearFeedback[T storage.SupportedNumeric] struct { // contains filtered or unexported fields }
func NewLinearFeedback ¶ added in v0.3.0
func NewLinearFeedback[T storage.SupportedNumeric](step T, stepInterval time.Duration, setpoint string) *LinearFeedback[T]
func (*LinearFeedback[T]) Read ¶ added in v0.3.0
func (feedback *LinearFeedback[T]) Read() (any, error)
func (*LinearFeedback[T]) Stop ¶ added in v0.3.0
func (feedback *LinearFeedback[T]) Stop()
type SineWave ¶
type SineWave struct {
// contains filtered or unexported fields
}
func NewSineWave ¶
Click to show internal directories.
Click to hide internal directories.