[pid] Add get_min_integral() and get_max_integral() (#7162)

This commit is contained in:
FreeBear-nc 2024-07-30 02:15:27 +01:00 committed by GitHub
parent 7c1aa771aa
commit 6e21d79bde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,8 @@ class PIDClimate : public climate::Climate, public Component {
float get_kp() { return controller_.kp_; } float get_kp() { return controller_.kp_; }
float get_ki() { return controller_.ki_; } float get_ki() { return controller_.ki_; }
float get_kd() { return controller_.kd_; } float get_kd() { return controller_.kd_; }
float get_min_integral() { return controller_.min_integral_; }
float get_max_integral() { return controller_.max_integral_; }
float get_proportional_term() const { return controller_.proportional_term_; } float get_proportional_term() const { return controller_.proportional_term_; }
float get_integral_term() const { return controller_.integral_term_; } float get_integral_term() const { return controller_.integral_term_; }
float get_derivative_term() const { return controller_.derivative_term_; } float get_derivative_term() const { return controller_.derivative_term_; }