eeros_architecture:control_system:available_blocks:sum
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:sum [2020/09/17 09:20] – ursgraf | eeros_architecture:control_system:available_blocks:sum [2021/05/16 14:29] (current) – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
A sum block allows to add N input signals together to produce a single output signal. Each of the input signals can be negated if necessary with | A sum block allows to add N input signals together to produce a single output signal. Each of the input signals can be negated if necessary with | ||
<code cpp> | <code cpp> | ||
- | | + | void negateInput(uint8_t index); |
</ | </ | ||
Situations can arise that a sum blocks draws one of its inputs from signals which are produced further down in the chain, e.g. feedback signals. [{{ : | Situations can arise that a sum blocks draws one of its inputs from signals which are produced further down in the chain, e.g. feedback signals. [{{ : | ||
+ | In the first run the feedback signal generally has no value yet (is '' | ||
+ | <code cpp> | ||
+ | void setInitCondition(uint8_t index, T val); | ||
+ | </ |
eeros_architecture/control_system/available_blocks/sum.1600327206.txt.gz · Last modified: 2020/09/17 09:20 by ursgraf