Custom scene simulation using unreal engine

조회 수: 2 (최근 30일)
Tirth Maheshkumar Shah
Tirth Maheshkumar Shah 2023년 5월 15일
댓글: Nishan Nekoo 2023년 8월 9일
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.

답변 (5개)

Nishan Nekoo
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
Tirth Maheshkumar Shah
Tirth Maheshkumar Shah 2023년 8월 9일
hi Thank you for your reply, but sometimes it still gives the error even if initial position is same as the first waypoints defined in the driving scenario designer. For me It is working for one custom map only. when I try new design of map and follow the same step i did earlier then The vehicle spawns in the correct point in unreal engine and then simulation stops with no ground found error.
It would be great if mathworks gives more detailed information with example on highway lane following with intelligent vehicle. Because it contains lane detection, a kind of ACC controller, camera radar, etc.
Thank you
Nishan Nekoo
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.

댓글을 달려면 로그인하십시오.


Boyka He
Boyka He 2023년 7월 14일
Any updates on this problem ? Coz I have the same problem.

ROHAN PADMANABHA
ROHAN PADMANABHA 2023년 7월 14일
i also need the answer to this error.

saurav seetharam
saurav seetharam 2023년 7월 14일
hii,
i am facing the same issue too. could there be a solution to this error.
thankyou

Tirth Maheshkumar Shah
Tirth Maheshkumar Shah 2023년 7월 15일
However, I am still having issue with example, highway intelligent vehicle lane following. In that new scenario is not working for me. If anyone find the solution please let me know .
  댓글 수: 2
ROHAN PADMANABHA
ROHAN PADMANABHA 2023년 7월 15일
still the same ...everything done as per the video.
Tirth Maheshkumar Shah
Tirth Maheshkumar Shah 2023년 8월 8일
for me its working.

댓글을 달려면 로그인하십시오.

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by