Skip to content

Commit

Permalink
Update expected compiled output
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Lampacrescia <[email protected]>
  • Loading branch information
MarcoLm993 committed Nov 22, 2024
1 parent 0b334ba commit 31b0a01
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<scxml name="1000_ReactiveSequence" version="1.0" model_src="" initial="wait_for_tick" xmlns="http://www.w3.org/2005/07/scxml">
<scxml name="1000_ReactiveSequence" version="1.0" model_src="" initial="init" xmlns="http://www.w3.org/2005/07/scxml">
<datamodel>
<data id="success_count" expr="0" type="int8"/>
<data id="child_idx" expr="0" type="int8"/>
<data id="children_count" expr="2" type="int8"/>
</datamodel>
<state id="init">
<transition cond="children_count &lt; 1" target="error"/>
<transition target="wait_for_tick"/>
</state>
<state id="wait_for_tick">
<transition target="error" cond="children_count &lt; 1"/>
<transition target="tick_children" event="bt_1000_tick">
<assign location="success_count" expr="0"/>
<assign location="child_idx" expr="0"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<scxml name="1001_Inverter" version="1.0" model_src="" initial="wait_for_tick" xmlns="http://www.w3.org/2005/07/scxml">
<scxml name="1001_Inverter" version="1.0" model_src="" initial="init" xmlns="http://www.w3.org/2005/07/scxml">
<datamodel>
<data id="children_count" expr="1" type="int8"/>
</datamodel>
<state id="init">
<transition cond="children_count != 1" target="error"/>
<transition target="wait_for_tick"/>
</state>
<state id="wait_for_tick">
<transition target="error" cond="children_count != 1"/>
<transition target="tick_child" event="bt_1001_tick"/>
</state>
<state id="tick_child">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<scxml name="1000_ReactiveSequence" version="1.0" model_src="" initial="wait_for_tick" xmlns="http://www.w3.org/2005/07/scxml">
<scxml name="1000_ReactiveSequence" version="1.0" model_src="" initial="init" xmlns="http://www.w3.org/2005/07/scxml">
<datamodel>
<data id="success_count" expr="0" type="int8"/>
<data id="child_idx" expr="0" type="int8"/>
<data id="children_count" expr="2" type="int8"/>
</datamodel>
<state id="init">
<transition cond="children_count &lt; 1" target="error"/>
<transition target="wait_for_tick"/>
</state>
<state id="wait_for_tick">
<transition target="error" cond="children_count &lt; 1"/>
<transition target="tick_children" event="bt_1000_tick">
<assign location="success_count" expr="0"/>
<assign location="child_idx" expr="0"/>
Expand Down

0 comments on commit 31b0a01

Please sign in to comment.