|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
15 double intm,
double sc,
double omax):
29 double intm,
double sc,
double omax,
double st_up,
double st_down,
double ff) :
37 stiction_up_val(st_up),
38 stiction_down_val(st_down),
double stiction_up_val
up stiction offset added to the pid output
Pid()
Default Constructor.
double max_output
max output
double scale
scale for the pid output
double ki
integrative gain
void setMaxInt(double m)
Set max threshold for the integrative part.
define control board standard interfaces
void setMaxOut(double m)
Set max output value for the pid.
void setScale(double sc)
Set output scale for the pid.
An interface for the device drivers.
void setKi(double i)
Set integrative gain.
void setKp(double p)
Set proportional gain.
double offset
pwm offset added to the pid output
double max_int
saturation threshold for the integrator
bool operator==(const yarp::dev::Pid &p) const
return true if all params are equal
double kp
proportional gain
double kff
feedforward gain
double stiction_down_val
down stiction offset added to the pid output
void setOffset(double o)
Set offset value for the pid.
void setKff(double Kff)
Set the feedforward gain for the pid.
void clear()
Set all pid parameters to zero.
Contains the parameters for a PID.
void setKd(double d)
Set derivative gain.
void setStictionValues(double up_value, double down_value)
Set the two stiction values for the pid.