eeros_architecture:control_system:available_blocks:sum
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:sum [2017/04/06 13:16] – created graf | eeros_architecture:control_system:available_blocks:sum [2021/05/16 14:29] (current) – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Sum ==== | + | ====== Sum ====== |
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. [{{ : | ||
+ | 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.1491477387.txt.gz · Last modified: 2017/04/06 13:16 (external edit)