C# Класс CSharpRoboticsLib.ControlSystems.SimplePID

Simpler form of PID logic
Наследование: IMotionController
Показать файл Открыть проект

Открытые методы

Метод Описание
Get ( double currentPoint ) : double

Gets the value of the PID loop, using the point given as the input for the proportional value

ResetIntegral ( ) : void

Reset the integral value.

SimplePID ( double p, double i, double d ) : System

Creates a new SimplePID object

SimplePID ( double p, double i, double d, double min, double max ) : System

Creates a new instance of the SimplePID class

Описание методов

Get() публичный Метод

Gets the value of the PID loop, using the point given as the input for the proportional value
public Get ( double currentPoint ) : double
currentPoint double current point of the system as read by a sensor
Результат double

ResetIntegral() публичный Метод

Reset the integral value.
public ResetIntegral ( ) : void
Результат void

SimplePID() публичный Метод

Creates a new SimplePID object
public SimplePID ( double p, double i, double d ) : System
p double Proportional Constant
i double Integral Constant
d double Derivative Constant
Результат System

SimplePID() публичный Метод

Creates a new instance of the SimplePID class
public SimplePID ( double p, double i, double d, double min, double max ) : System
p double Proportional constant
i double Integral Constant
d double Derivative Constant
min double Minimum allowed output of the PID loop
max double Maximum allowed output of the PID loop
Результат System