Clear Filters
Clear Filters

MATLAB System block 'SCRRefere​nceApplica​tion/Simul​ation 3D Vehicle with Ground Following/Simulation 3D Vehicle' error occurred when invoking 'stepImpl' method of 'Simulation3D

10 views (last 30 days)
When i use matlab 2021a and unreal engine 4.23 for simulation,in unreal editor model ,the question is appear.
The details of the error are as follows:
MATLAB System block 'SCRReferenceApplication/Simulation 3D Vehicle with Ground Following/Simulation 3D Vehicle' error occurred when invoking 'stepImpl' method of 'Simulation3DVehicleTerrainFb'. The error was thrown from '
'D:\Program Files\MATLAB\R2021a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0
'D:\Program Files\MATLAB\R2021a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0'.
The 3D vehicle no longer detects the ground. Review scene limits or initial position.
  2 Comments
猛
on 8 Aug 2023
Edited: on 8 Aug 2023
Thank you for your reply. I used custom map. I first built a road model in RoadRunner, then exported it as fbx file, and then imported it into UE. Using vdynblks/SceneInterrogationReferenceApplicationExample as the Simulink model, operating model and then open the Ureal Editor click play. The vehicle model appears, but it does not appear on the road, then the simulation stops and the Diagnostics Viewer displays the following error:
The Ureal Editor displays the following screen before the error is reported:

Sign in to comment.

Accepted Answer

Nishan Nekoo
Nishan Nekoo on 8 Aug 2023
This error appears because the vehicle is initialized outside the scene limits. It appears that you are not initializing the initial position of the vehicle correctly: https://www.mathworks.com/help/driving/ref/simulation3dvehiclewithgroundfollowing.html#mw_38d9dce2-9b3a-4028-9ae9-ecc2ea8e8674
Please set the parameter from the link above in the "Simulation 3D Vehicle with Ground Following" block so that the vehicle is iniitalized within the scene limits.
  7 Comments
Nishan Nekoo
Nishan Nekoo on 10 Jun 2024
Edited: Nishan Nekoo on 10 Jun 2024
Hi @zk and @Igor Kevický without having access to your specific RoadRunner scene and Simulink models, it might be difficult to identify what exactly is causing this. I would recommend reaching out to our MathWorks Technical Support team for assistance with this at support@mathworks.com, and they will be able to assist you.

Sign in to comment.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!