sml icon indicating copy to clipboard operation
sml copied to clipboard

Problem with deferred events in runtime dispatcher state machine

Open michalber opened this issue 3 years ago • 0 comments

Hi everyone!

Expected Behavior

I have made state machine based on runtime_dispatcher where I have few deferred events which are propagating through few states. Problem is that with particular configuration of states it is working (without having states that are doing action without waiting for event - state<s1> / []{} = state<s2>) and with other it is not (with those states). I found similar issue, which helped me to fix my problem, but it is still interesting why this is happening.

Actual Behavior

It should be working with both cases.

Steps to Reproduce the Problem

Attached file with GTest describing my problem.

Specifications

  • Version: 1.1.4
  • Platform: Linux/ESP32 (GNU compiler)

Test.zip

michalber avatar Sep 21 '21 09:09 michalber