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_002 | ||||
Reqs Covered: | REQ_OBST_DET_03 | ||||
Work Status: | reviewed | ||||
Description: |
Test description We ramp down the ultrasound sensor signal value. Later we command reverse drive. 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. Once reverse drive is comanded, the output emergencyStopObstacle should be false. |
||||
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); [+1.0s] remoteCtrlCmd = REMOTE_DRIVE_REV; [+0.5s] |
Start Time | Stop Time | Cycle Time | Solver |
---|---|---|---|
0 | 2 | 0.05 | FixedStepDiscrete |
Simulation Mode | Simulation Time | Testbed Name | Testbed Path | Testbed Date |
---|---|---|---|---|
ECModelFloat | 29-Oct-2019 09:47:39 | Frame_Obst_ec | Test/Test_ObstacleDetection_demo_ec/ObstacleDetection/ | 29-Oct-2019 09:47:53 |
ECModelFixed | 29-Oct-2019 09:47:59 | 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 | 100.0% | 80% | 18 | 18 | 0 | |||||||||||||
Decision | 75.0% | 80% | 8 | 6 | 2 |
Aggregated coverage results: Test Sequence Catalog
[Go to Parameter Report of Test Object]
Input Signal | Constant Signal |
---|---|
remoteCtrlCmd | no |
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:08) |
Assessment Results: |
Assessment evaluation in sim mode Global: Passed Passed mars_REQ_OBST_DET_01: OK. Passed mars_REQ_OBST_DET_02: OK. Passed mars_REQ_OBST_DET_03: OK. |
Back2Back Results: |
Back2Back signal comparison of sim mode SiL (EC)/out vs. MiL (EC)/out: Passed Passed emergencyStopObstacle: OK Passed obstacleDetection: OK |