User Tools

Site Tools


eeros_architecture:control_system:available_blocks:step

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eeros_architecture:control_system:available_blocks:step [2020/07/02 14:47] – created ursgrafeeros_architecture:control_system:available_blocks:step [2021/05/16 14:29] (current) ursgraf
Line 3: Line 3:
 examples. examples.
 <code cpp> <code cpp>
-  Step<Vector2> s1({0.2, 2.5, 3.5});+Step<Vector2> s1({0.2, 2.5, 3.5});
 </code> </code>
 The first parameter is the initial value, that is, the output value before the step happens. The second parameter denotes the step height while the third gives the time delay after which the step function happens. In our example, the output value will switch to 2.7 after 3.5s. The first parameter is the initial value, that is, the output value before the step happens. The second parameter denotes the step height while the third gives the time delay after which the step function happens. In our example, the output value will switch to 2.7 after 3.5s.
Line 9: Line 9:
 If a ''Step'' block is declared without parameters, the default parameters of step(0.0, 1.0, 0.0) will be used. The ''reset'' function allows to rerun the step function. If a ''Step'' block is declared without parameters, the default parameters of step(0.0, 1.0, 0.0) will be used. The ''reset'' function allows to rerun the step function.
 <code cpp> <code cpp>
-  s1.reset();+s1.reset();
 </code> </code>
  
  
eeros_architecture/control_system/available_blocks/step.txt · Last modified: 2021/05/16 14:29 by ursgraf