Open Trunk Example#
Attention
Purpose: Demonstration safety topic, demonstration Mixed-Criticality and why we need two instances: safety and non-safety instance.
Note
<output-folder>/examples/bin:Sub pages of the Open Trunk Example
Hint
The Vehicle Function will open the trunk. This should be blocked when the vehicle is moving:
Required: TX signal to open the trunk, RX signal representing the speed of the vehicle.
Convert the speed value from
m/stokm/h. This represents the vehicle abstraction when the input signal unit does not match the standardized interface definition.A complex service offers an interface to open the trunk.
Before the command is forwarded to the basic service the vehicle speed is checked and denied accordingly to prevent the opening of the trunk.
Therefore the complex service can be seen as an ASIL A component.
Trunk example application class diagram#
Trunk Complex service class diagram#
Vehicle Trunk basic service class diagram#
Vehicle Speed basic service class diagram#
Vehicle Speed Vehicle device class diagram#
Vehicle Speed Vehicle device class diagram#