Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
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
Click to show internal directories.
Click to hide internal directories.