OpenWareLaboratory
|
Applies simple hysteresis to a scalar. More...
Public Member Functions | |
const float | DEFAULT_DELTA |
const int | DEFAULT_DELTA |
const float | DEFAULT_DELTA |
const int | DEFAULT_DELTA |
const float | DEFAULT_EXP_C |
const int | DEFAULT_EXP_C |
const float | DEFAULT_EXP_C |
const int | DEFAULT_EXP_C |
const float | DEFAULT_EXP_K |
const int | DEFAULT_EXP_K |
const float | DEFAULT_EXP_K |
const int | DEFAULT_EXP_K |
const float | DEFAULT_LAMBDA |
const int | DEFAULT_LAMBDA |
const float | DEFAULT_LAMBDA |
const int | DEFAULT_LAMBDA |
const float | DEFAULT_LOG_C |
const int | DEFAULT_LOG_C |
const float | DEFAULT_LOG_C |
const int | DEFAULT_LOG_C |
const float | DEFAULT_LOG_K |
const int | DEFAULT_LOG_K |
const float | DEFAULT_LOG_K |
const int | DEFAULT_LOG_K |
T | get () |
operator T () | |
StiffValue< T, Value > & | operator*= (const T &other) |
StiffValue< T, Value > & | operator+= (const T &other) |
StiffValue< T, Value > & | operator-= (const T &other) |
StiffValue< T, Value > & | operator/= (const T &other) |
StiffValue< T, Value > & | operator= (const T &other) |
void | reset (T x) |
StiffValue () | |
StiffValue (const StiffValue< T, Value > &other) | |
StiffValue (T delta, T init) | |
StiffValue (T value) | |
void | update (T newValue) |
Static Public Member Functions | |
static T | normal (float delta) |
Data Fields | |
T | delta = Value::DEFAULT_DELTA |
Static Public Attributes | |
static const T | DEFAULT_DELTA |
static const T | DEFAULT_EXP_C |
static const T | DEFAULT_EXP_K |
static const T | DEFAULT_LAMBDA |
static const T | DEFAULT_LOG_C |
static const T | DEFAULT_LOG_K |
Protected Attributes | |
T | value |
Applies simple hysteresis to a scalar.
Only updates the value if the absolute difference is greater than delta
Definition at line 61 of file SmoothValue.h.
|
inline |
Definition at line 64 of file SmoothValue.h.
|
inline |
Definition at line 65 of file SmoothValue.h.
|
inline |
Definition at line 66 of file SmoothValue.h.
|
inline |
Definition at line 67 of file SmoothValue.h.
|
inherited |
Definition at line 11 of file SimpleValue.cpp.
|
inherited |
Definition at line 17 of file SimpleValue.cpp.
|
inherited |
Definition at line 61 of file SimpleValue.h.
|
inherited |
Definition at line 67 of file SimpleValue.h.
|
inherited |
Definition at line 12 of file SimpleValue.cpp.
|
inherited |
Definition at line 18 of file SimpleValue.cpp.
|
inherited |
Definition at line 62 of file SimpleValue.h.
|
inherited |
Definition at line 68 of file SimpleValue.h.
|
inherited |
Definition at line 13 of file SimpleValue.cpp.
|
inherited |
Definition at line 19 of file SimpleValue.cpp.
|
inherited |
Definition at line 63 of file SimpleValue.h.
|
inherited |
Definition at line 69 of file SimpleValue.h.
|
inherited |
Definition at line 10 of file SimpleValue.cpp.
|
inherited |
Definition at line 16 of file SimpleValue.cpp.
|
inherited |
Definition at line 60 of file SimpleValue.h.
|
inherited |
Definition at line 66 of file SimpleValue.h.
|
inherited |
Definition at line 14 of file SimpleValue.cpp.
|
inherited |
Definition at line 20 of file SimpleValue.cpp.
|
inherited |
Definition at line 64 of file SimpleValue.h.
|
inherited |
Definition at line 70 of file SimpleValue.h.
|
inherited |
Definition at line 15 of file SimpleValue.cpp.
|
inherited |
Definition at line 21 of file SimpleValue.cpp.
|
inherited |
Definition at line 65 of file SimpleValue.h.
|
inherited |
Definition at line 71 of file SimpleValue.h.
|
inlineinherited |
Definition at line 19 of file SimpleValue.h.
References SimpleValue< T >::value.
Referenced by SimpleValue< T >::operator T().
|
static |
|
inline |
Definition at line 92 of file SmoothValue.h.
|
inline |
Definition at line 84 of file SmoothValue.h.
|
inline |
Definition at line 76 of file SmoothValue.h.
|
inline |
Definition at line 80 of file SmoothValue.h.
|
inline |
Definition at line 88 of file SmoothValue.h.
|
inline |
Definition at line 72 of file SmoothValue.h.
|
inlineinherited |
Definition at line 22 of file SimpleValue.h.
References SimpleValue< T >::value.
|
inline |
Definition at line 68 of file SmoothValue.h.
References abs.
|
staticinherited |
Definition at line 52 of file SimpleValue.h.
|
staticinherited |
Definition at line 53 of file SimpleValue.h.
|
staticinherited |
Definition at line 54 of file SimpleValue.h.
|
staticinherited |
Definition at line 51 of file SimpleValue.h.
|
staticinherited |
Definition at line 55 of file SimpleValue.h.
|
staticinherited |
Definition at line 56 of file SimpleValue.h.
T StiffValue< T, Value >::delta = Value::DEFAULT_DELTA |
Definition at line 63 of file SmoothValue.h.
|
protectedinherited |
Definition at line 14 of file SimpleValue.h.
Referenced by SimpleValue< T >::get(), SimpleValue< T >::operator*=(), SimpleValue< T >::operator+=(), SimpleValue< T >::operator-=(), SimpleValue< T >::operator/=(), SimpleValue< T >::reset(), TakeoverValue< T, Value >::setLocked(), and SimpleValue< T >::update().