Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Rule (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Oct 16, 2024
1 parent a8d42f4 commit 07ebd43
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FMI Libraries of the Dynamic Simulation Environment (DSE) Core Platform provide
* FMI ModelC FMU - for packaging a DSE simulation as an FMU.
* FMI Gateway FMU - for bridging between a remote simulation and a DSE simulation.

The DSE FMI libraries operate in Co-simulation environments and support both scalar and binary variables.
The DSE FMI libraries operate in Co-simulation environments and support both scalar and binary variables.
Virtual networks (e.g. CAN) are implemented using [Network Codecs](https://github.com/boschglobal/dse.standards/tree/main/dse/ncodec) and supported via FMI Binary variables, or in the case of FMI 2, by using encoded [FMI String variables](https://github.com/boschglobal/dse.standards/tree/main/modelica/fmi-ls-binary-to-text).


Expand Down
21 changes: 11 additions & 10 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
version: '3'

vars:
# When running from E2E tests (i.e. Docker in Docker), the ENTRYDIR (for
# When running from E2E tests (i.e. Docker in Docker), the ENTRYDIR (for
# Docker commands) must be set to the host relative path.
ENTRYDIR: '{{if .SIM}}{{.ENTRYWORKDIR}}/{{.SIM}}{{else}}{{.PWD}}{{end}}'
# Container image specification.
Expand Down Expand Up @@ -54,9 +55,9 @@ tasks:
MCL_PATH: '{{.MCL_PATH | default "MCL_PATH_NOT_SPECIFIED"}}'
PLATFORM: "{{if .PLATFORM}}--platform '{{.PLATFORM}}'{{else}}{{end}}"
cmds:
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
gen-mcl
--fmu {{.FMU_DIR}}
--outdir {{.OUT_DIR}}
Expand All @@ -74,9 +75,9 @@ tasks:
INPUT: '{{.INPUT | default "INPUT_NOT_SPECIFIED"}}'
OUTPUT: '{{.OUTPUT | default "OUTPUT_NOT_SPECIFIED"}}'
cmds:
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
gen-signalgroup
--input {{.INPUT}}
--output {{.OUTPUT}}
Expand All @@ -97,9 +98,9 @@ tasks:
UUID: "{{if .UUID}}--uuid '{{.UUID}}'{{else}}{{end}}"
OUT_DIR: '{{.OUT_DIR | default "out"}}'
cmds:
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
- docker run --rm
-v {{.ENTRYDIR}}:/sim
{{.FMI_IMAGE}}:{{.FMI_TAG}}
gen-fmu
--sim {{.SIM}}
--name {{.FMU_NAME}}
Expand Down

0 comments on commit 07ebd43

Please sign in to comment.