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 次查看(过去 30 天)
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 个评论
猛
2023-8-8
编辑: 2023-8-8
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:

请先登录,再进行评论。

采纳的回答

Nishan Nekoo
Nishan Nekoo 2023-8-8
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 个评论
Nishan Nekoo
Nishan Nekoo 2024-6-10
编辑:Nishan Nekoo 2024-6-10
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.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by