Open ishaan95 opened 1 year ago
Hey @ishaan95 thanks a lot for the summary! I'll at some point have to sit down and write something very similar down into a user documentation but for now I think I can link to this issue when the question comes up. One thing that seems a bit problematic to me in this step by step description is the "file renaming" step. In case the link between the OpenSCENARIO file and the 3D mesh file is needed during runtime this might create an issue and the XML code might have to be updated as well. I believe in your case this was no problem since you used the "offline" .fbx import and probably only used OpenDRIVE.
Yes, I only used opendrive. There might be an issue if Openscenario is to be used (maybe .xosc file with same name as the other 2 might help).
If we had an "export to CARLA" button which created only FBX and Opendrive with the same name and exported by hiding the connecting roads, that would be great!
I will put that on my TODO list.
@ishaan95 I have released an update and I am now not exporting the connecting roads as part of the 3D mesh. Hope that suits your use case.
Thank you. Will test the export and get back to you.
@ishaan95 make sure to create a track from scratch or it might not work since it will already be corrupted before export in the old version. Keep in mind that I will sometimes break compatibility in the 0.x versions if necessary.
Hello,
Since several issues refer to this task (#21, #14, #4), I thought writing about my experience here would be useful. I ran both tools on Windows. Here was the process:
make import
from the CARLA project directory. It did not give any error. It creates a _mappackage directory in the<CARLA project folder>/Unreal/CarlaUE4/Content
directory.make launch
from the CARLA project directory. Clicked the play button on Unreal Engine to start the server.<CARLA project folder>/PythonAPI/util
directory, I ran theconfig.py
script using the following command:python config.py --map <map name>
This is the same map name of the fbx and opendrive from earlier. This reloaded the scene with the imported map with lane markings. I also ran _Here are the outputs on Blender and CARLA: