1#ifndef PID_CONTROLLER_H
2#define PID_CONTROLLER_H
51 bool is_limited_{
false};
59 std::pair<real_t, real_t> limits_;
PID controller implementation.
Definition pid_controller.h:19
void set_control_limits(std::pair< real_t, real_t > limits)
Definition pid_controller.h:73
PIDController(real_t Kp, real_t Ki, real_t Kd)
Definition pid_controller.h:64
real_t get_kp() const noexcept
Definition pid_controller.h:30
bool is_limited() const noexcept
Definition pid_controller.h:36
real_t get_ki() const noexcept
Definition pid_controller.h:31
real_t get_kd() const noexcept
Definition pid_controller.h:32
ctrl_signal_type compute_ctrl_signal(real_t current, real_t target, real_t dt)
Definition pid_controller.cpp:10
real_t ctrl_signal_type
Definition pid_controller.h:22
Definition bitrl_consts.h:14
double real_t
real_t
Definition bitrl_types.h:23