Skip to content

Commit

Permalink
Update README of bus simulation demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensB committed Dec 11, 2023
1 parent e75b29e commit 3a06378
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ls-bus-guide/demos/can-bus-simulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ The FMU provides terminals to connect exactly two nodes.
Currently, the bus simulation provides the following capabilities:
- Forwarding of CAN frames and sending confirmations
- Basic timing simulation based on baud rate
- Basic frame priorization
- Basic simulation of arbitration
- Basic error injection

The FMU requires a simulator with support for triggered and countdown clocks, event mode and variable step size.

Expand All @@ -26,3 +27,6 @@ This FMU can then be loaded by an importer or precompiled using, e.g., FMPy.

To run the FMU, a supported simulator and two CAN node FMUs (e.g., from the demo `can-node-triggered-output`) are required.
The node FMUs must be connected to the `Node1` and `Node2` terminals.

To simulate bus errors, you can configure the variable `BusErrorProbability` to specify a probability of an error
being simulated by the bus simulation FMU for a single frame. You can specify value between 0.0 and 1.0.

0 comments on commit 3a06378

Please sign in to comment.