You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to import a custom map made with Roadrunner into Carla and to use the example generate_traffic.py script.
First I had this error: python3 generate_traffic.py -n 1 -w 0WARNING: cannot find the type of projection, using default transverse mercator Segmentation fault (core dumped)
I have solved this by exporting the .fbx and .xodr in Roadrunner with the exact same projection by using the "Use Tranverse Mercator At" Option but with custom coordinates. The .xodr is matching the .fbx visualy. But the RoutePlanner Objects have a coordinate origin that is far off the road. Also the world origin seems to be far off the road. But I don´t know how to influence that in the export. I am not sure if this is correct.
Now when running the script it doesn´t show me any errors. It says 4 vehicles spawned. But they are being destroyed immediately. The spawn points look fine to me.
Does anyone have an idea what could be causing this?
Am I applying wrong world/export settings in Roadrunner?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear colleagues,
I have been trying to import a custom map made with Roadrunner into Carla and to use the example generate_traffic.py script.
First I had this error:
python3 generate_traffic.py -n 1 -w 0WARNING: cannot find the type of projection, using default transverse mercator Segmentation fault (core dumped)I have solved this by exporting the .fbx and .xodr in Roadrunner with the exact same projection by using the "Use Tranverse Mercator At" Option but with custom coordinates. The .xodr is matching the .fbx visualy. But the RoutePlanner Objects have a coordinate origin that is far off the road. Also the world origin seems to be far off the road. But I don´t know how to influence that in the export. I am not sure if this is correct.
Now when running the script it doesn´t show me any errors. It says 4 vehicles spawned. But they are being destroyed immediately. The spawn points look fine to me.
Does anyone have an idea what could be causing this?
Am I applying wrong world/export settings in Roadrunner?
I have attached my exported map.
madrid_map.zip
madrid_map.zip
Best regards!
Beta Was this translation helpful? Give feedback.
All reactions