eeros_architecture:control_system:available_blocks:mux
Multiplexer
This blocks allows to merge several distinctive signals into a vector.
The type of the inputs could be of any type such as
Mux<2> m1;
The output of this multiplexer will be of type Matrix<2,1,double>
or Vector2
while each input is simply of type double
. Another case is
Mux<2,Vector2> m2;
Here, the inputs are of type Vector2
and the output is of type Matrix<2,1,Vector2>
.
The inputs of a multiplexer can be connected with
m1.getIn(0).connect(otherBlock1.getOut()); m1.getIn(1).connect(otherBlock2.getOut());
eeros_architecture/control_system/available_blocks/mux.txt · Last modified: 2025/01/14 10:01 by ursgraf