Brief description of class LinearConvertedValue.
More...
#include <armarx/control/ethercat/LinearConvertedValue.h>
template<typename T>
class armarx::control::ethercat::LinearConvertedValue< T >
Brief description of class LinearConvertedValue.
Detailed description of class LinearConvertedValue.
Definition at line 43 of file LinearConvertedValue.h.
◆ LinearConvertedValue()
◆ getFactor()
| float getFactor |
( |
| ) |
const |
|
inline |
◆ getOffset()
| float getOffset |
( |
| ) |
const |
|
inline |
◆ getOffsetBeforeFactor()
| bool getOffsetBeforeFactor |
( |
| ) |
const |
|
inline |
◆ getRaw()
◆ init() [1/2]
init
- Parameters
-
| raw | |
| node | |
| defaultValue | |
| offsetBeforeFactor | if true the offset is added before multiplying with factor. If false: the other way around. |
| nameForDebugging | This name is printend in case an error is encountered (Its only purpose is to ease debugging) |
Definition at line 63 of file LinearConvertedValue.h.
◆ init() [2/2]
| void init |
( |
T * |
raw, |
|
|
float |
factor, |
|
|
float |
offset, |
|
|
float |
defaultValue = std::nanf("1"), |
|
|
bool |
offsetBeforeFactor = true, |
|
|
const char * |
nameForDebugging = "" |
|
) |
| |
|
inline |
◆ read()
◆ write()
◆ value
The documentation for this class was generated from the following file: