The "ALKS Regulation UN R157" ECE/TRANS/WP.29/2020/81 [1] is necessary for the approval of an "Automated Lane Keeping System" on motorways presented in the UNECE Press Release. The Systems Modeling Language (SysML) is a general-purpose modeling language for systems engineering applications. It supports the specification, analysis, design, verification and validation of a broad range of systems and systems-of-systems.[2]
This project intends to formally describe the system architecture of the Automated Lane Keeping Assistant as defined in UN R157 with the intention to map the necessary tests needed to comply with international regulation and certification of the function to different test instances (e.g. HIL, MIL, SIL). Eventually the tests for software in the loop (SIL) should be executed.
Clone the repository to your local machine.
Minimum requirements:
- OpenJDK > 15.0.2 download
- Eclipse IDE 2020-12 download
- Papyrus < 5.0.0 (Workbench installation) download
- Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-15 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.
- Set JAVA_HOME:
- Under System Variables, click New.
- Enter the variable name as JAVA_HOME.
- Enter the variable value as the installation path of the JDK (without the bin sub-folder).
- Configure PATH:
- Select PATH under System Variables.
- Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
- The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"%JAVA_HOME%\bin"
- Click OK.
- Click Apply Changes.
- Add other useful variables as described here and look at the optional instructions.
To see if it worked, open up the Command Prompt:
C:\>java --version
openjdk 15.0.2 2021-01-19
OpenJDK Runtime Environment (build 15.0.2+7-27)
OpenJDK 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)
If you want to uninstall - just undo the above steps.
- Download the Eclipse Installation Package.
- Run the installation by clicking on the downloaded installation package (usually in the windows-download folder) Note, that administration rights are necessarry.
- Select Eclipse Modeling Tools, make sure the proxy settings are correct to allow the download of the application components.
- Launch the application and check, if its running.
- Select a workspace (you can use the default folder or can browse and create a new one, e.g eclipseworkspace202012, especially if there are older installations of eclipss choose a new one).
Installation of papyrus and plugins are done in the eclipse tool. If eclipse is not running start it at first.
For installing Papyrus do the following steps:
- Help -> Install new software -> The install-window opens.
- Under "work with" fill in the source of the papyrus package:
https://download.eclipse.org/modeling/mdt/papyrus/updates/releases/2020-12/5.0.0/
. - Click on the Add... Button.
- Under "Add Repository" fill in a name (e.g Papyrus 5.0) and click on "Add".
- The Install window is shown again with the possible plugins for the installation package select there: Papyrus, Papyrus Releng Tools, Papyrus Toolsmith and optionally Papyrus User Examples.
- Click on "Next" -> Accept the terms of service. If there are other installations of papyrus it is possible, that the installation run can not be completed, thus try the following
- If the install window shows "Install Remeditation Page - The install cannot be completed" select the following solution: Keep my installation the same and modify the items being installed to be compatible.
- A security warning appears: "Warning : Installing unsigned software for witch the authenicity or.....Continue with the installation? Select "Install anyway".
- A Window appears "Software Updates - Restart Eclipse IDE to apply the software update? Select "Restart now".
For sysml-modelling there are different plugins necessarry to be installed in the follwoing order:
- GMF plugin
- SYSML 1.6 plugin
- EMF compare
- Papyrus compare
Installing the GMF plugin:
- Choose Help - Install new software.
- Add the plugin by clicking on Add.. .
- Fill in the download adress
http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.3.1a
and give a name (e.g. GMF). - Select the shown plugin and click "Next".
- A security warning appears: "Warning : Installing unsigned software for witch the authenicity or.....Continue with the installation? Select "Install anyway".
- A Window appears "Software Updates - Restart Eclipse IDE to apply the software update? Select "Restart now".
Installing the syml 1.6 profile:
- Choose Help - Eclipse Marketplace.
- Type in the Search tab, "Find" field:
sysml
. - All available plugins for sysml are shown.
- Choose SYSML 1.6 by cklicking on the "install" button.
- If a security warning appears: "Warning : Installing unsigned software for witch the authenicity or.....Continue with the installation? Select "Install anyway".
- A Window appears "Software Updates - Restart Eclipse IDE to apply the software update? Select "Restart now".
Note: If an error occurs install the proposed packages.
Installing EMF Compare:
- Choose Help - Eclipse Marketplace.
- Type in the Search tab, "Find" field:
EMF compare
. - All available plugins for comparison are shown Choose "EMF Compare" by clicking the "install" button.
- Next window shows "Confirm selected Features".
- Model comparison (required) --> this is already selected.
- Select "Model comparison - EGit Support".
- Note: Don't select the "Model comparison - Papyrus Support" --> this plugin must be installed afterwards.
- Press "Confirm".
- Press "Finish" and "restart".
Installing Papyrus Compare:
- Choose Help - Install new software
- Add the plugin by clicking on Add..
- Fill in the download adress:
https://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration
and give a name (e.g. Papyrus Compare). - Select in the main window Papyrus Compare, then press "Next".
- A window appears with installation details, press "Next".
- A window "Review Licenses" appears, select "I accept the terms of the license agreements" and press "Finish".
- A security warning window appears with a warning, press "Install anyway".
- Window "Software Updates" asks "Restart Eclips IDE to apply the software update?", press "Restart Now".
TBD
sudo apt-get update
sudo apt-get install openjdk-15-jdk
export JAVA_HOME=/usr/lib/jvm/openjdk-15-jdk
export PATH=$PATH:$JAVA_HOME/bin
- Open Eclipse
- Window -> Perspective -> Open Perspective -> Other: Select Papyrus
- Open project