13#ifndef YARP_DEV_CONTROLBOARDPID_H
14#define YARP_DEV_CONTROLBOARDPID_H
22class PidWithExtraInfo;
53 Pid(
double kp,
double kd,
double ki,
double int_max,
double scale,
double out_max);
68 Pid(
double kp,
double kd,
double ki,
69 double int_max,
double scale,
double out_max,
double st_up,
double st_down,
double kff);
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.
yarp::dev::PidExtraInfoData PidExtraInfo
The main, catch-all namespace for YARP.