12 double intm,
double sc,
double omax):
13 PidGainsData(p, d, i, intm, sc, omax, 0.0, 0.0 ,0.0, 0.0)
17 double intm,
double sc,
double omax,
double st_up,
double st_down,
double ff) :
18 PidGainsData(p, d, i, intm, sc, omax, 0.0, st_up, st_down, ff)
defines yarp::dev::Pid datatype
double ki
integrative gain
double scale
scale for the pid output
double kp
proportional gain
double max_output
max output
double stiction_down_val
down stiction offset added to the pid output
double kff
feedforward gain
double stiction_up_val
up stiction offset added to the pid output
double offset
pwm offset added to the pid output
double max_int
saturation threshold for the integrator
Contains the parameters for a PID.
void clear()
Set all pid parameters to zero.
void setKp(double p)
Set proportional gain.
Pid()
Default Constructor.
void setMaxOut(double m)
Set max output value for the pid.
void setOffset(double o)
Set offset value for the pid.
void setKi(double i)
Set integrative gain.
void setKff(double Kff)
Set the feedforward gain for the pid.
void setStictionValues(double up_value, double down_value)
Set the two stiction values for the pid.
void setScale(double sc)
Set output scale for the pid.
bool operator==(const yarp::dev::Pid &p) const
return true if all params are equal
void setKd(double d)
Set derivative gain.
void setMaxInt(double m)
Set max threshold for the integrative part.
For streams capable of holding different kinds of content, check what they actually have.