eeros_architecture:control_system:available_blocks:gain
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
eeros_architecture:control_system:available_blocks:gain [2021/11/14 17:49] – ursgraf | eeros_architecture:control_system:available_blocks:gain [2022/04/21 13:35] – [Gain] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Gain ====== | ====== Gain ====== | ||
- | The gain block allows to amplify an input signal. In general, the input signal is of type matrix and hence, the gain will have to be a matrix as well. However, the type of the input signal and the output signal must be the same. This is because when the gain block is disabled the output is equal to the input. When declaring a gain block you have to make sure that the input type multiplied with the gain matrix | + | The gain block allows to amplify an input signal. In general, the input signal is of type matrix and hence, the gain will have to be a matrix as well. However, the type of the input signal and the output signal must be the same. When the gain block is disabled the output is equal to the input. When declaring a gain block you have to make sure that the gain matrix |
The following lines show various examples. | The following lines show various examples. | ||
<code cpp> | <code cpp> | ||
- | Gain< | + | Gain< |
</ | </ | ||
- | The first template parameter denotes the input signal. The gain here is a 2x2-matrix. | + | The first template parameter denotes |
+ | <code cpp> | ||
+ | Gain< | ||
+ | </ | ||
+ | This is not allowed because the multiplication of two matrices with the first having dimensions of [2,1] and the second of [2,2] is not defined. | ||
If a '' | If a '' | ||
<code cpp> | <code cpp> |
eeros_architecture/control_system/available_blocks/gain.txt · Last modified: 2022/04/21 13:36 by ursgraf