betfsm_ros.Timeout
Bases: GeneratorWithState
Timeout
warning
obsolete, EventOutcome with Timeout_Condition recommended.
__init__(name, timeout, state, node=None)
Timeout executes the underlying state at long as its outcome is TICKING. It finishes when the outcome is not ticking and returns this outcome. It also finishes when the given duration is exceeded and returns TIMEOUT.
| Parameters: |
|
|---|
Warning
assumes that the underlying state sufficiently yields TICKING! Don't use this if the underlying state completely blocks!