DUNE: Uniform Navigational Environment
2.3.0
|
Public Member Functions | |
ServoCurrentMonitor (const T lower_limit, const T upper_limit, const unsigned max_lfaults, const unsigned max_ufaults, const double fault_cooldown) | |
~ServoCurrentMonitor (void) | |
T | updateAndTest (const T &value) |
|
inline |
Constructor.
lower_limit | current lower limit to trigger detection |
upper_limit | current upper limit to trigger detection |
max_lfaults | maximum number of lower faults |
max_ufaults | maximum number of upper faults |
fault_cooldown | cooldown time after a detection has been done |
References DUNE::Time::Clock::get().
|
inline |
Destructor.
|
inline |
Update function.
value | current measurement to be used in the detection |
References DUNE::Time::Clock::get().