User Tools

Site Tools


eeros_architecture:control_system:blocks

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
eeros_architecture:control_system:blocks [2017/03/17 12:07] – [Signals] grafeeros_architecture:control_system:blocks [2017/03/17 17:13] – [Making Connections] graf
Line 12: Line 12:
   Step<> step(0.0, -3.14159265359, 5);   Step<> step(0.0, -3.14159265359, 5);
   step.setName("step 1");   step.setName("step 1");
-  step.getOut().getSignal().setName("phi_desired"); 
  
   Sum<3> sum;   Sum<3> sum;
   sum.setName("adds feedback");   sum.setName("adds feedback");
-  sum.getOut().getSignal().setName("control signal"); 
   sum.getIn(0).connect(step.getOut());   sum.getIn(0).connect(step.getOut());
   
Line 38: Line 36:
 //getIn(0)// returns the first input signal. With //getIn(1)// you will get the second input signal. //getIn(0)// returns the first input signal. With //getIn(1)// you will get the second input signal.
  
 +===== Initial State of Outputs =====
 +All outputs of any block carry a value of NaN (not a number) after the block has been created. Only after the first execution of its run-method does the signal have a meaningful value.
  
eeros_architecture/control_system/blocks.txt · Last modified: 2022/04/19 12:36 by ursgraf