How to use the Automated Driving Toolbox to render car models in Unrealengine
3 views (last 30 days)
Show older comments
A scenario was created using the Automated Driving Toolbox. It was confirmed that the vehicle moved according to the scenario in UnrealEngine 4.27.
Next, the car created in Blender was imported into UnrealEngine. Next, uasset was added to the "type" parameter of the Simulation 3D Vehicle with Ground Following block, but an error occurred and it could not be executed.
・The uasset was set to a Skeletal Mesh
・The path of the uasset was the path that was obtained by copying the mesh reference in the UnrealEngine content browser (/Game/Alphard/Alphard.Alphard)
Simlink errormessage
エラー:シミュレーションの実行中にエラーが発生したため、シミュレーションを終了しました
原因:
'Simulation3DVehicleTerrainFb' の 'stepImpl' メソッドを呼び出すときに MATLAB System ブロック 'mysim/Simulation 3D Vehicle with Ground Following1/Simulation 3D Vehicle' エラーが発生しました。エラーは '
'C:\Program Files\MATLAB\R2023b\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0
'C:\Program Files\MATLAB\R2023b\toolbox\shared\sim3dblks\sim3dblks\Simulation3DVehicleTerrainFb.p' at line 0' からスローされました。
Vehicle terrain sensor returned no data.
0 Comments
Answers (1)
Nishan Nekoo
on 20 Jun 2024
Hi Don,
What version of MATLAB are you using? Are you using a Simulation 3D Terrain Sensor in your model? There might be an issue with the way you have configured your skeletal mesh in Blender. I assume you have been following the guide here:
Here is a video also that might be helpful to make sure you don't miss anything:
Would you be able to share this custom uasset here? If not, I would recommend reaching out to MathWorks technical support at support@mathworks.com so that they can reproduce this issue and help you resolve it.
Nishan
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!