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 visualizzazioni (ultimi 30 giorni)
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 Commenti
Nishan Nekoo
Nishan Nekoo il 7 Ago 2023
Hello, was this a custom map that you were using? Can you provide more details about your workflow?
猛
il 8 Ago 2023
Modificato: il 8 Ago 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:

Accedi per commentare.

Risposta accettata

Nishan Nekoo
Nishan Nekoo il 8 Ago 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 Commenti
Nishan Nekoo
Nishan Nekoo il 10 Giu 2024
Modificato: Nishan Nekoo il 10 Giu 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.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by