carla-simulator / carla

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

Custom Map ingestion offsets map origin #6919

Closed aamzhas closed 4 months ago

aamzhas commented 10 months ago

CARLA version: 0.9.13 Platform/OS: Ubuntu 22.04 Problem you have experienced: I'm running the sumo synchronized co-simulation with a custom map.

I made the map in roadrunner - its a simple ring/circle of radius 100m centered at (0,0) -> the edges are at (100,0), (-100, 0), (0, 100), (0, -100).

After ingesting using the docker method, I noticed that the map is offset - the center of the circle is no longer at (0, 0) and but one the edges is now at (0, 0) -> essentially the map as a whole is offset by about 100m.

The offset is throwing off the velocity calculation which is leading to different velocities in sumo and carla and messing with metrics.

What you expected to happen: Circle would still be centered at (0, 0) and not offset.

RodrigoVillarias commented 4 months ago

Hi, have you checked if the Location of the Transform is all at 0,0,0 and there is no yellow arrow on the border?

Captura de pantalla 2024-04-26 125709