eeros_architecture:control_system:available_blocks:generic
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:generic [2025/08/08 15:37] – ursgraf | eeros_architecture:control_system:available_blocks:generic [2026/04/20 14:10] (current) – ursgraf | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| Such an algorithm could theoretically calculate any output from a given set of inputs. Choose this method when the algorithm is simple and one wants to avoid using several other blocks doing a simple algorithm, e.g. adding a offset and scale to a signal as given in the example above. | Such an algorithm could theoretically calculate any output from a given set of inputs. Choose this method when the algorithm is simple and one wants to avoid using several other blocks doing a simple algorithm, e.g. adding a offset and scale to a signal as given in the example above. | ||
| - | How could this be solved with predefined block from [[eeros_architecture: | + | How could the example above be solved with predefined block from [[eeros_architecture: |
| Use a constant block delivering the offset together with a sum block which adds the offset to the signal. Finally, a gain block applies the desired scale. All in all, you will use three different blocks. | Use a constant block delivering the offset together with a sum block which adds the offset to the signal. Finally, a gain block applies the desired scale. All in all, you will use three different blocks. | ||
| - | Using a basic block with a lambda function as given in the example above saves valuable execution time in reducing the number of necessary blocks. It can also be useful when a given algorithm cannot be stitched together from predefined blocks. | + | Using a basic block with a lambda function as given in the example above saves from defining a new class. It can also be useful when a given algorithm cannot be stitched together from predefined blocks. |
eeros_architecture/control_system/available_blocks/generic.1754660246.txt.gz · Last modified: by ursgraf
