18#ifndef EASYNAV_SIMPLE_CONTROLLER__PIDCONTROLLER_HPP_
19#define EASYNAV_SIMPLE_CONTROLLER__PIDCONTROLLER_HPP_
40 PIDController(
double min_ref,
double max_ref,
double min_output,
double max_output);
49 void set_pid(
double n_KP,
double n_KI,
double n_KD);
60 double get_output(
double new_reference,
double dt);
79 double integral_limit_ {0.0};
PIDController(double min_ref, double max_ref, double min_output, double max_output)
Constructor.
Definition PIDController.cpp:22
double get_output(double new_reference, double dt)
Computes the control output for the given reference input.
Definition PIDController.cpp:45
void set_pid(double n_KP, double n_KI, double n_KD)
Sets the PID gains.
Definition PIDController.cpp:37
void reset()
Reset internal integrator and derivative state.
Definition PIDController.cpp:86
Provides a mapping for often used cost values.
Definition cost_values.hpp:41