Skip to content
New issue

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

Bug: transition with certain event leads to wrong state. #13

Closed
andrevier opened this issue Jun 29, 2023 · 0 comments
Closed

Bug: transition with certain event leads to wrong state. #13

andrevier opened this issue Jun 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@andrevier
Copy link
Owner

In model StateMachineModelFromFiles.xls

supervisor1: event 32 in the state 0 leads to state 3 instead of 1.
supervisor2: event 11 in the state 0 leads to state 3 instead of 1.

@andrevier andrevier added the bug Something isn't working label Jun 30, 2023
andrevier pushed a commit that referenced this issue Jun 30, 2023
Bug #14: An error in the 'decode' method was causing a problem in assigning a name to the state, which was hindering the step-by-step debugging process.

Bug #13: The transition matrix contained subsequent states that used the same event for transitioning. For instance, there was a transition from state 0 to 1 with event 32, and another transition from state 1 to 3 with the same event 32. This created the impression of an error, when in reality it was due to a rapid transition.

Change the class of properties from the classes StateMachine and StateMachineUtils from int32 to double to be easy to accept data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant