41 double compute(
double w_ref,
double a_ref,
double w_meas,
double dt,
42 double u_max,
bool* out_saturated =
nullptr);
52 double w_meas_prev_{0.0};
const foundation::PidGains & gains() const
void setFF(const foundation::Feedforward &ff)
const foundation::Feedforward & ff() const
VelocityController(foundation::PidGains g, foundation::Feedforward ff)
double compute(double w_ref, double a_ref, double w_meas, double dt, double u_max, bool *out_saturated=nullptr)
void setGains(const foundation::PidGains &g)
Feedforward terms for velocity and acceleration control.
Basic PID gains without integrator and output shaping parameters.