34 #ifndef CONTROL_TOOLBOX__PID_H 35 #define CONTROL_TOOLBOX__PID_H 40 #include <control_msgs/PidState.h> 43 #include <dynamic_reconfigure/server.h> 44 #include <control_toolbox/ParametersConfig.h> 45 #include <boost/thread/mutex.hpp> 127 Gains(
double p,
double i,
double d,
double i_max,
double i_min)
136 Gains(
double p,
double i,
double d,
double i_max,
double i_min,
bool antiwindup)
172 Pid(
double p = 0.0,
double i = 0.0,
double d = 0.0,
double i_max = 0.0,
double i_min = -0.0,
bool antiwindup =
false);
195 void initPid(
double p,
double i,
double d,
double i_max,
double i_min,
bool antiwindup =
false);
208 void initPid(
double p,
double i,
double d,
double i_max,
double i_min,
bool antiwindup,
const ros::NodeHandle& );
217 bool initParam(
const std::string& prefix,
const bool quiet=
false);
234 bool initXml(TiXmlElement *config);
255 void getGains(
double &p,
double &i,
double &d,
double &i_max,
double &i_min);
256 void getGains(
double &p,
double &i,
double &d,
double &i_max,
double &i_min,
bool &antiwindup);
272 void setGains(
double p,
double i,
double d,
double i_max,
double i_min,
bool antiwindup =
false);