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:04] – [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 37: Line 35:
 </code> </code>
 //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.
- 
  
eeros_architecture/control_system/blocks.txt · Last modified: 2022/04/19 12:36 by ursgraf