User Tools

Site Tools


eeros_architecture:control_system:available_blocks:int

This is an old revision of the document!


Integrator

The integrator block allows to integrate an input signal. Before using it set its initial state with

  setInitCondition(T val);

An integrator can be enabled or disabled.

  enable();
  disable();

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.
Without setting the initial state to a meaningful value, the output will be nan even after enabling the block.
An integrator block can be limited, such that its integral does not run over a certain limit. This limit can be set by calling

  setLimit(T upper, T lower);

The default values for the limits are the positive and negative maximum values of the given type.

eeros_architecture/control_system/available_blocks/int.1521114267.txt.gz · Last modified: 2018/03/15 12:44 (external edit)