MATLAB System block 'SCRReferenceApplication/Simulation 3D Vehicle with Ground Following/Simulation 3D Vehicle' error occurred when invoking 'stepImpl' method of 'Simulation3D
10 views (last 30 days)
Show older comments
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
Nishan Nekoo
on 7 Aug 2023
Hello, was this a custom map that you were using? Can you provide more details about your workflow?
Accepted Answer
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
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!