|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
12 #ifndef YARP_DEV_CONTROLBOARDPID_H
13 #define YARP_DEV_CONTROLBOARDPID_H
63 Pid(
double kp,
double kd,
double ki,
double int_max,
double scale,
double out_max);
78 Pid(
double kp,
double kd,
double ki,
79 double int_max,
double scale,
double out_max,
double st_up,
double st_down,
double kff);
100 void setKd(
double d);
159 #endif // YARP_DEV_CONTROLBOARDPID_H
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.
void setMaxOut(double m)
Set max output value for the pid.
void setScale(double sc)
Set output scale for the pid.
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.
The main, catch-all namespace for YARP.
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.