-
Notifications
You must be signed in to change notification settings - Fork 8
Testing Procedure
Cláudio edited this page Feb 1, 2021
·
5 revisions
In this section we describe how to test the app manually with the intent of making sure the students can follow the tutorials. Only people who have access to the tutorial materials and solutions can execute these steps. You need to be given access to these.
Only the most troublesome steps are tested, so not all tutorials need to be tested.
For each tutorial, be sure to install the dependencies correctly.
-
Remove install folder
- (please fill in where it is typically in windows)
- Linux
- Mac
-
Remove install_downloads
- (Please fill in where it is typically in windows)
- Linux
- Mac
-
Remove Settings folder
- (Please fill in where it is typically in windows)
- Linux
- Mac
- Open project
Tutorial_1_Solution
. - Run a co-simulation. If on windows, check that the 3D multi-model can be run as a co-simulation.
- Open Modelio, and switch the worskpace to
Tutorial_3_Solution/SysML
- Open the connections diagram, right click on the Robot instance, and
INTO-CPS > Generate Configuration
. Leave the name of the config asrobot2sensor
- With the INTO-CPS App, open project
Tutorial_3_Solution
- Expand
SYSML/LineFollowRobot/configs
- Right click on
robot2sensor
andCreate Multi-Model
. Leave the name asmm-robot2Sensor
. - Open the newly created multi-model and associate the missing FMUs.
- Create a co-simulation configuration, add a plot or two, and run it.
- Open Overture and import the existing project in
Tutorial_4_Solution/Models/LFRController
- Right click on the project folder name and
Overture FMU > Export Tool Wrapper FMU
. - Associate the newly generated FMU to a multi-model and run a co-simulation
- Use 20-sim to open the project
Tutorial_5_Solution/Models/20-sim_Body/R2G2P_Body_Only.emx
- Start the simulator
- Go to
Tools > Real Time Toolbox > C-Code Generation
. - Select
FMU 2.0 export for 20-sim submodel
. - Associate the newly generated FMU to a multi-model and run a co-simulation