pid

package
v0.0.0-...-3e1ade8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Output(currentError float64) float64
}

func NewDController

func NewDController(kd float64) Controller

func NewIController

func NewIController(ki float64) Controller

func NewPController

func NewPController(kp float64) Controller

func NewPIDController

func NewPIDController(kp, ki, kd, minOutput, maxOutput float64) Controller

type DController

type DController struct {
	// contains filtered or unexported fields
}

func (*DController) Output

func (d *DController) Output(currentError float64) float64

type IController

type IController struct {
	// contains filtered or unexported fields
}

func (*IController) Output

func (i *IController) Output(currentError float64) float64

type PController

type PController struct {
	// contains filtered or unexported fields
}

func (*PController) Output

func (p *PController) Output(currentError float64) float64

type PIDController

type PIDController struct {
	// contains filtered or unexported fields
}

func (*PIDController) Output

func (p *PIDController) Output(currentError float64) float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL