#include <pid.hpp>
Public Member Functions | |
float | ki () const |
PID (float kp, float kd, float ki, float minOutput, float maxOutput, float integratorMin, float integratorMax, const std::string &name) | |
void | reset () |
void | setIntegral (float integral) |
float | update (float value, float targetValue) |
Private Attributes | |
float | m_integral |
float | m_integratorMax |
float | m_integratorMin |
float | m_kd |
float | m_ki |
float | m_kp |
float | m_maxOutput |
float | m_minOutput |
float | m_previousError |
ros::Time | m_previousTime |
PID::PID | ( | float | kp, |
float | kd, | ||
float | ki, | ||
float | minOutput, | ||
float | maxOutput, | ||
float | integratorMin, | ||
float | integratorMax, | ||
const std::string & | name | ||
) | [inline] |
void PID::reset | ( | ) | [inline] |
void PID::setIntegral | ( | float | integral | ) | [inline] |
float PID::update | ( | float | value, |
float | targetValue | ||
) | [inline] |
float PID::m_integral [private] |
float PID::m_integratorMax [private] |
float PID::m_integratorMin [private] |
float PID::m_maxOutput [private] |
float PID::m_minOutput [private] |
float PID::m_previousError [private] |
ros::Time PID::m_previousTime [private] |