User Tools

Site Tools


eeros_architecture:control_system:available_blocks:int

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
eeros_architecture:control_system:available_blocks:int [2017/04/06 13:46] grafeeros_architecture:control_system:available_blocks:int [2021/07/07 20:06] (current) ursgraf
Line 2: Line 2:
 The integrator block allows to integrate an input signal. Before using it set its initial state with The integrator block allows to integrate an input signal. Before using it set its initial state with
 <code cpp> <code cpp>
-  setInitCondition(T val);+setInitCondition(T val);
 </code> </code>
 +Without setting the initial state to a meaningful value, the output will be ''nan'' even after enabling the block. 
 +
 An integrator can be enabled or disabled.  An integrator can be enabled or disabled. 
 <code cpp> <code cpp>
-  enable(); +enable(); 
-  disable();+disable();
 </code> </code>
-This, for instance, helps to stop integrating up a given input while handling an exception. Please note that an integrator is in the disabled state upon creation.+This, for instance, helps to stop integrating up a given input while handling an exception. Please note that an integrator is in the disabled state upon creation. Instead of enabling and disabling an integrator block manually, you can set an active safety level with  
 +<code cpp> 
 +setActiveLevel(safetySystem, safetyLevel) 
 +</code> 
 +If the active level is set, the integrator will be automatically be enabled if the current safety level is equal or greater than the active level.   
 + 
 +An integrator block can be limited, such that its integral does not run over a certain limit. This limit can be set by calling  
 +<code cpp> 
 +setLimit(T upper, T lower); 
 +</code> 
 +The default values for the limits are the positive and negative maximum values of the given type.
  
eeros_architecture/control_system/available_blocks/int.1491479206.txt.gz · Last modified: 2017/04/06 13:46 by graf