ESPHome
2024.10.2
|
#include <pid_autotuner.h>
Public Member Functions | |
void | update (float error, RelayFunction::RelayFunctionState relay_state) |
bool | has_enough_data () const |
float | get_mean_oscillation_amplitude () const |
bool | is_amplitude_convergent () const |
Data Fields | |
float | phase_min = NAN |
float | phase_max = NAN |
std::vector< float > | phase_mins |
std::vector< float > | phase_maxs |
RelayFunction::RelayFunctionState | last_relay_state = RelayFunction::RELAY_FUNCTION_INIT |
Definition at line 84 of file pid_autotuner.h.
float esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::get_mean_oscillation_amplitude | ( | ) | const |
Definition at line 333 of file pid_autotuner.cpp.
bool esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::has_enough_data | ( | ) | const |
Definition at line 327 of file pid_autotuner.cpp.
bool esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::is_amplitude_convergent | ( | ) | const |
Definition at line 344 of file pid_autotuner.cpp.
void esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::update | ( | float | error, |
RelayFunction::RelayFunctionState | relay_state | ||
) |
Definition at line 297 of file pid_autotuner.cpp.
RelayFunction::RelayFunctionState esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::last_relay_state = RelayFunction::RELAY_FUNCTION_INIT |
Definition at line 97 of file pid_autotuner.h.
float esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::phase_max = NAN |
Definition at line 94 of file pid_autotuner.h.
std::vector<float> esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::phase_maxs |
Definition at line 96 of file pid_autotuner.h.
float esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::phase_min = NAN |
Definition at line 93 of file pid_autotuner.h.
std::vector<float> esphome::pid::PIDAutotuner::OscillationAmplitudeDetector::phase_mins |
Definition at line 95 of file pid_autotuner.h.