Custom scene simulation using unreal engine
13 次查看(过去 30 天)
显示 更早的评论
I have created a scenario using roadrunner and combined it with unreal engine. When I run the simulation with unreal editor selected in the 3d scene configuration block. I am getting following error. Although I have selected same initial position as the driving scenario design file.
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
MATLAB System block 'untitled/Simulation 3D Vehicle with Ground Following/Simulation 3D Vehicle' error occurred when invoking 'stepImpl' method of 'Simulation3DVehicleTerrainFb'. The error was thrown from '
'C:\Program Files\MATLAB\R2023a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0
'C:\Program Files\MATLAB\R2023a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0'.
The 3D vehicle no longer detects the ground. Review scene limits or initial position.
0 个评论
回答(5 个)
Nishan Nekoo
2023-8-8
This error appears because the vehicle is initialized outside the scene limits or if the scene has a hole in the ground. It may be 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.
If this does not resolve your error, please send a screenshot of the Unreal visualization to show where the vehicle is initialized.
2 个评论
Nishan Nekoo
2023-8-9
Hi Tirth, it might be difficult to debug this issue via a chat thread. I'd recommend you reach out to our Tech Support team who can work directly with you to resolve your specific issue.
Does the same error appear no matter what initial position you use or does it work for other initial positions?
Are you referring to this example: https://www.mathworks.com/help/driving/ug/highway-lane-following-with-intelligent-vehicles.html. The documentation contains a lot of detail about the subsystems, please read through and reach out with specific questions if you have them.
saurav seetharam
2023-7-14
hii,
i am facing the same issue too. could there be a solution to this error.
thankyou
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!