DUNE: Uniform Navigational Environment
2016.09.0
|
Classes | |
class | Error |
Public Member Functions | |
MotorCurrentMonitor (const std::vector< Tc > &lin_points, const Tc threshold, const double detection_delay, const unsigned average_samples) | |
~MotorCurrentMonitor (void) | |
Tc | updateAndTest (const Tc &curr_value, const Tr &rpm_value) |
|
inline |
Constructor (assumes current and rpm values are of the same type)
lin_points | points of the motor model to be used in piecewise linear function |
threshold | current error value above which a detection will trigger |
detection_delay | delay in seconds before a detection is triggered |
average_samples | number of samples to use in the delayed trigger |
|
inline |
Destructor.
References DUNE::Memory::clear().
|
inline |
Update function.
curr_value | new current measurement |
rpm_value | new rpm measurement |
References DUNE::Monitors::DelayedTrigger< T >::updateAndTest().