User Tools

Site Tools


eeros_architecture:control_system:available_blocks:checker

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
eeros_architecture:control_system:available_blocks:checker [2021/05/16 14:22] ursgrafeeros_architecture:control_system:available_blocks:checker [2021/05/16 14:26] ursgraf
Line 4: Line 4:
 When the checker has reached his limit it will fire a safety event exactly once. The safety system then will have to reset the checker by calling When the checker has reached his limit it will fire a safety event exactly once. The safety system then will have to reset the checker by calling
 <code cpp> <code cpp>
-checker.reset();+reset();
 </code>  </code> 
 This will allow a new safety event to be triggered. In case of a matrix type, the checker will fire as soon as at least one of its elements has exceeded its limits. \\ This will allow a new safety event to be triggered. In case of a matrix type, the checker will fire as soon as at least one of its elements has exceeded its limits. \\
 However, the checker will only fire an event if the safety system and an appropriate event have been registered beforehand by calling However, the checker will only fire an event if the safety system and an appropriate event have been registered beforehand by calling
 <code cpp> <code cpp>
-checker.registerSafetyEvent(safetySystem, safetyEvent);+registerSafetyEvent(safetySystem, safetyEvent);
 </code>  </code> 
 By calling  By calling 
 <code cpp> <code cpp>
-checker.setActiveLevel(safetyLevel);+setActiveLevel(safetyLevel);
 </code>  </code> 
 the checker will only fire a registered safety event if the current safety level is equal or greater than the safety level set by this method. the checker will only fire a registered safety event if the current safety level is equal or greater than the safety level set by this method.
eeros_architecture/control_system/available_blocks/checker.txt · Last modified: 2021/07/09 14:36 by ursgraf