Demonstration Project - siemens/evaluation-framework GitHub Wiki
2.1 Demonstration Project and Basic Workflow
Setup
- Download the Demonstration Project and open it in Unity
- Open the Demonstration Scene in Unity
- Copy the EvaluationFrameworkUnity folder into the Assets-folder of the demonstration project
Unity Project
The demonstration project simulates a sphere rolling on a plane in horizontal direction. Two scripts are part of the project:
- FollowSphere.cs simply implementing the camera following the sphere
- Movement.cs implementing the movement of the sphere. The following public variables can be modified to change the sphere's movement:
forceXMultiplier
: float variable determining the multiplication of the force continuously pushing the sphere in x-directionforceJumpMultiplier
: float variable determining the multiplication of the force pushing the sphere in y-direction impulsively after five secondsmass
: int variable determining the (Rigidbody) mass of the sphere
Feel free to manually modify the three parameters in the Unity editor to see the effects on the sphere's movement.
The project execution either automatically quits after ten seconds, or as soon as the sphere rolled 100 meters in x-direction.
Evaluation Framework Workflow
The goal of this evaluation is to investigate how different forces pushing the Sphere in x- and y-direction, as well as different masses of the Sphere influence the total distance travelled by the Sphere, its highest position during the simulation, etc.
1. Definition of Evaluation Space
2. Execution and Evaluation
3. Point Cloud Visualization
© Siemens AG, 2020
Author: Michael Dyck ([email protected])