2024-08-21 09:35:35 -07:00
|
|
|
//
|
|
|
|
// Created by kifir on 8/20/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-08-23 08:13:13 -07:00
|
|
|
#include "hysteresis.h"
|
|
|
|
|
2024-08-21 09:35:35 -07:00
|
|
|
class MaxLimitWithHysteresis {
|
|
|
|
public:
|
|
|
|
bool checkIfLimitIsExceeded(const float value, const float maxLimit, const float hysteresis);
|
|
|
|
private:
|
|
|
|
Hysteresis m_hysteresis;
|
|
|
|
};
|