Filter löschen
Filter löschen

Automated driving toolbox interface for unreal engine4 projects

4 Ansichten (letzte 30 Tage)
IKM
IKM am 11 Feb. 2022
Bearbeitet: Divit am 18 Dez. 2023
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.)

Antworten (1)

Divit
Divit am 18 Dez. 2023
Bearbeitet: Divit am 18 Dez. 2023
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:
  1. 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.
  2. 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.
  3. 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.
I hope it helps!

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by