We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If state machine's state fails with an exception, _is_running flag is not lowered, although the state machine obviously is not running.
Example code:
from smach import StateMachine, State class FailingState(State): def execute(self, ud): 0/0 # exception s = StateMachine(outcomes=[]) with s: StateMachine.add('foo', FailingState()) try: s.execute() except: pass print 'running', s.is_running()
Output:
<...> ZeroDivisionError: integer division or modulo by zero <...> running True
Isn't is an issue?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If state machine's state fails with an exception, _is_running flag is not lowered, although the state machine obviously is not running.
Example code:
Output:
Isn't is an issue?
The text was updated successfully, but these errors were encountered: