- Manual Creation: Use the road specifications from the "Driving Scenario Designer" as a reference to manually create the roads within the Unreal Engine editor using its level design tools.
- Custom Export and Import: Develop a custom script or tool that can convert the road network data from MATLAB's format to a format that can be imported into Unreal Engine, such as FBX or another compatible 3D model format. This would require knowledge of both MATLAB programming and the Unreal Engine's data structures.
- Programmatic Level Creation: Use the Unreal Engine's scripting capabilities (Blueprints or C++) to programmatically create the road network within the engine based on the specifications from MATLAB.
Automated driving toolbox interface for unreal engine4 projects
3 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to customize scenes in the unreal editor and use them in simulink.
I read the manual and succeeded in connecting AutoVrtlEnv and RRScene with UE4 editor, but I want to use the road I created to connect with UE4 editor. I created a road using DrivingScenarioDesigner and tried to connect it to UE4(View Simulation in 3D display) but it only works with the executable file.
My questions is that is it possible to connect roads created using DrivingScenarioDesigner with UE4 editor?
(I am trying to create roads in MATLAB and not UE4.)
0 个评论
回答(1 个)
Omega
2023-12-18
编辑:Omega
2023-12-18
Hi IKM,
I understand the you would like to connect UE4 and "Driving Scenario Designer" and use the roads created with "Driving Scenario Designer" in UE4 editor.
Automated Driving Toolbox and Unreal Engine 4 primarily supports the use of pre-built scenes provided by MathWorks and the customization of these scenes within the Unreal Editor using the "AutoVrtlEnv" plugin.
The "Driving Scenario Designer" app in MATLAB allows you to create driving scenarios, but it is primarily designed to generate synthetic sensor data and test driving algorithms within MATLAB and Simulink. The app itself does not directly interface with the Unreal Engine 4 editor for the purpose of creating custom road networks.
To use custom road networks created in MATLAB with the Unreal Engine 4 editor, you would typically need to export the road network data to a format that Unreal Engine understands and then import it into your Unreal project. However, the Automated Driving Toolbox does not provide a direct feature to export roads from the Driving Scenario Designer to the Unreal Engine editor.
Here are a few potential workarounds:
I hope it helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!