C# 클래스 CSharpRoboticsLib.ControlSystems.SimplePID

Simpler form of PID logic
상속: IMotionController
파일 보기 프로젝트 열기: shockwave4488/CSharpRoboticsLib

공개 메소드들

메소드 설명
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