File tree Expand file tree Collapse file tree
examples/UC1-vacuum-cleaner/high-level-models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - push
55
66jobs :
7- # find-files:
8- # runs-on: ubuntu-latest
9- # outputs:
10- # files: ${{ steps.set-files.outputs.files }}
11- # steps:
12- # - uses: actions/checkout@v3
13- # - name: Find SCXML files
14- # id: set-files
15- # run: |
16- # FILES=$(find examples -type f \( -name "*.ascxml" -o -name "*.scxml" -o -name "*.xml" \) | jq -R . | jq -s .)
17- # FILES=$(echo "$FILES" | tr -d '\n') # Ensure single-line JSON
18- # echo "Files found: $FILES"
19- # echo "files=$FILES" >> $GITHUB_OUTPUT
7+ find-files :
8+ runs-on : ubuntu-latest
9+ outputs :
10+ files : ${{ steps.set-files.outputs.files }}
11+ steps :
12+ - uses : actions/checkout@v3
13+ - name : Find SCXML files
14+ id : set-files
15+ run : |
16+ FILES=$(find examples/UC1-vacuum-cleaner -type f \( -name "*.ascxml" -o -name "*.scxml" -o -name "*.xml" \) | jq -R . | jq -s .)
17+ FILES=$(echo "$FILES" | tr -d '\n') # Ensure single-line JSON
18+ echo "Files found: $FILES"
19+ echo "files=$FILES" >> $GITHUB_OUTPUT
2020 validate-xml :
2121 strategy :
2222 matrix :
23- path :
24- # - ${{ fromJson(needs.find-files.outputs.files) }}
25- - examples/UC1-vacuum-cleaner/high-level-models/nodes/robot_model.scxml
26- - examples/UC1-vacuum-cleaner/main.xml
27- # needs: find-files
23+ path :
24+ - ${{ fromJson(needs.find-files.outputs.files) }}
25+ needs : find-files
2826 runs-on : ubuntu-latest
2927 steps :
3028 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1- <roaml >
2- <parameters >
1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <roaml
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : noNamespaceSchemaLocation =" ../../../data-format-specifications/RoAML-XML/main.xsd" >
5+
6+ <mc_parameters >
37 <max_time value =" 40" unit =" s" />
48 <bt_tick_rate value =" 5.0" />
59 <bt_tick_if_not_running value =" true" />
6- </parameters >
10+ </mc_parameters >
711
812 <behavior_tree >
913 <input type =" bt.cpp-xml" src =" ./bt_policies/policy.xml" />
You can’t perform that action at this time.
0 commit comments