carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
10.79k stars 3.47k forks source link

The position of the opendrive map doesn't match the position of it's fbx model when ingesting new map #6301

Open zhuyingxiang95 opened 1 year ago

zhuyingxiang95 commented 1 year ago

hello guys, I have come across a problem when ingesting a new customized map into Carla. After the map loaded into UE4, i have found the position of the imported opendrive map doesn't match its fbx model. have not found an answer in forum yet. i appreciate it if someone has some comments over it . (the red path is my opendrive map) Screenshot from 2023-03-08 18-35-02

Ahmed-Radwan094 commented 1 year ago

Hi @zhuyingxiang95, did you find a solution to this issue as I am facing it as well.

zhuyingxiang95 commented 1 year ago

I suggest you to check the local coordinate of both the FBX and oxdr. Also try to directly move the fbx model in UE4 editor to fit the oxdr.

Ahmed-Radwan094 @.***>于2023年5月31日 周三15:20写道:

Hi @zhuyingxiang95 https://github.com/zhuyingxiang95, did you find a solution to this issue as I am facing it as well.

— Reply to this email directly, view it on GitHub https://github.com/carla-simulator/carla/issues/6301#issuecomment-1570223734, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYZYM5UP26VSS6II2M5DDLXI5ARFANCNFSM6AAAAAAVWG4D64 . You are receiving this because you were mentioned.Message ID: @.***>

Ahmed-Radwan094 commented 1 year ago

@zhuyingxiang95 Thank you for your reply. Can you clarify what you mean by local coordinates of the xodr file and where to find it? Thank you for your help.

zhuyingxiang95 commented 1 year ago

I am not sure if oxdr has a local coordinate. Lanelet 2 format do have. Have you tried to directly move the fbx in UE4 ?

Ahmed-Radwan094 @.***>于2023年5月31日 周三18:05写道:

@zhuyingxiang95 https://github.com/zhuyingxiang95 Thank you for your reply. Can you clarify what you mean by local coordinates of the xodr file and where to find it? Thank you for your help.

— Reply to this email directly, view it on GitHub https://github.com/carla-simulator/carla/issues/6301#issuecomment-1570515801, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYZYM7O4DY5OMATFGGYD2TXI5T45ANCNFSM6AAAAAAVWG4D64 . You are receiving this because you were mentioned.Message ID: @.***>

Ahmed-Radwan094 commented 1 year ago

I tried that, and it works, but I am creating multiple maps and I don't want to manually align each one. Thank you for your help and advice.

ronyshaji commented 10 months ago

@zhuyingxiang95 Hey, How did you created a .fbx file? Any opensource software available other than Roadrunner?