Error in initializing of unreal engine simulation
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello, once i set up all the plugins and applications in order to cosimulate vehicle in unreal engine program. I execute the simulation in both programs (Matlab-Simulink) and Unreal Engine. An appears this problem:
MATLAB System block 'MPC_controller_3/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\R2024a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0
'C:\Program Files\MATLAB\R2024a\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0'.
The 3D vehicle no longer detects the ground. Review scene limits or initial position.
How can i solve this problem?
Im using the block called "Simulation 3D vehicle with Ground Following"
댓글 수: 0
답변 (1개)
Nishan Nekoo
2024년 6월 17일
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!