User Tools

Site Tools


getting_started:tutorials:blocks

Using Blocks

In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run

$ ./examples/block/blockTest

This examples shows how single blocks can be instantiated. They can be named and their inputs and outputs can be connected to other blocks. The signals in between can be named as well. Note that this example doesn't include a control system nor an executor which runs the blocks. The blocks are run by calling their run methods manually.

IMPORTANT The output signals of a newly created block carries a value of NaN (Not a Number). Please note that any block will output a meaningful value only after its run method processes its input values and inner state and finally writes its resulting values to its outputs.

getting_started/tutorials/blocks.txt · Last modified: 2020/12/03 08:24 by ursgraf