eeros_architecture:control_system:available_blocks:switch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
eeros_architecture:control_system:available_blocks:switch [2017/04/06 13:36] – [Auto Switching] graf | eeros_architecture:control_system:available_blocks:switch [2017/04/06 13:50] – [Auto Switching] graf | ||
---|---|---|---|
Line 15: | Line 15: | ||
setCondition(T switchLevel, | setCondition(T switchLevel, | ||
</ | </ | ||
- | where '' | + | where '' |
+ | Before the switching can take place the switch must be armed with | ||
<code cpp> | <code cpp> | ||
arm(); | arm(); | ||
Line 23: | Line 24: | ||
triggered(); | triggered(); | ||
</ | </ | ||
- | queries the state of the switch function. It will return true as soon as the auto switching happened. | + | queries the state of the switch function. It will return |
\\ | \\ | ||
+ | The switching might lead to a change in the safety level. In order to be able to trigger a safety event you have to register such an event beforehand. | ||
+ | <code cpp> | ||
+ | registerSafetyEvent(SafetySystem* ss, SafetyEvent* e); | ||
+ | </ | ||
eeros_architecture/control_system/available_blocks/switch.txt · Last modified: 2021/07/07 20:09 by ursgraf