MTest Project: | MTest Demo EV3Control_ec Batch Project |
MTest Test Object: | ObstacleDetection (model: ObstacleDetection_demo_ec) |
MTest Test Group: | Testing obstacle detection using MTCD (Test001) |
MTest User: | MTest Demo User |
Generated at: | 2019-10-29 09:48 |
Tool | Version |
---|---|
MES Test Manager | MTest v 6.4 |
MATLAB | 9.5 (R2018b) |
Simulink | 9.2 (R2018b) |
Stateflow | 9.2 (R2018b) |
Operating System | Microsoft Windows 7 Professional Version 6.1 (Build 7601: Service Pack 1) |
TestSeq ID: | TS_OBST_DET_001 | ||||
Reqs Covered: |
REQ_OBST_DET_01 REQ_OBST_DET_02 |
||||
Work Status: | reviewed | ||||
Description: |
Test description We ramp down the ultrasound sensor signal value. Expected Result Once sensor signal value falls below DIST_OBSTACLE_EVADE the output obstacleDetected should be true. Once sensor signal value falls below DIST_OBSTACLE_STOP the output emergencyStopObstacle should be true. |
||||
TestGroup Initialization: | // Initialization of input signals (this test group) remoteCtrlCmd = 0; usSensorFront = 0; // Default definition of parameters p DIST_OBSTACLE_EVADE = 40; p DIST_OBSTACLE_STOP = 15; p REMOTE_DRIVE_REV = 8; | TestSequence Initialization: | // Initialization of input signals (this sequence) usSensorFront = 255; | Action: | [+0.5s] // System initialization usSensorFront = ramp(0); [+0.5s] |
Start Time | Stop Time | Cycle Time | Solver |
---|---|---|---|
0 | 1 | 0.05 | FixedStepDiscrete |
Simulation Mode | Simulation Time | Testbed Name | Testbed Path | Testbed Date |
---|---|---|---|---|
ECModelFloat | 29-Oct-2019 09:47:35 | Frame_Obst_ec | Test/Test_ObstacleDetection_demo_ec/ObstacleDetection/ | 29-Oct-2019 09:47:53 |
ECModelFixed | 29-Oct-2019 09:47:56 | Frame_Obst_ec | Test/Test_ObstacleDetection_demo_ec/ObstacleDetection/ | 29-Oct-2019 09:47:53 |
Tool | Metric | Percentage | Target | Total | Reached | Unreached | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Model Coverage | Condition | 88.9% | 80% | 18 | 16 | 2 | |||||||||||||
Decision | 50.0% | 80% | 8 | 4 | 4 |
Aggregated coverage results: Test Sequence Catalog
[Go to Parameter Report of Test Object]
Input Signal | Constant Signal |
---|---|
remoteCtrlCmd | value: 0 |
usSensorFront | no |
Output Signal | Constant Signal | Difference |
---|---|---|
emergencyStopObstacle | no | no |
obstacleDetection | no | no |
Evaluation Result: | Passed |
automatically evaluated by: | MTest Demo User (29-Oct-2019 09:48:06) |
Assessment Results: |
Assessment evaluation in sim mode Global: Passed Passed mars_REQ_OBST_DET_01: OK. Passed mars_REQ_OBST_DET_02: OK. NotTriggered mars_REQ_OBST_DET_03: Not triggered. |
Back2Back Results: |
Back2Back signal comparison of sim mode SiL (EC)/out vs. MiL (EC)/out: Passed Passed emergencyStopObstacle: OK Passed obstacleDetection: OK |