Hi,
It looks like you’re facing an issue where the coordinates from the Carla simulation environment are significantly smaller than those from the Apollo map, causing a mismatch.
- Coordinate System Alignment: Ensure that both RoadRunner and Apollo are using the same coordinate system and units. Sometimes, discrepancies arise from different coordinate systems or units being used.
- Scaling Factors: Check if there are any scaling factors applied during the export process from RoadRunner to Carla and Apollo. You might need to adjust these scaling factors to ensure consistency.
- Georeferencing: Verify that the georeferencing settings are correctly configured in both RoadRunner and Apollo. Incorrect georeferencing can lead to significant coordinate mismatches.
- Export Options: When exporting from RoadRunner, ensure you are using the correct export options for both Carla and Apollo. Double-check the export settings to make sure they are compatible with both platforms
Refer to the following documentations to know more about:
- Export Scene: https://www.mathworks.com/help/driving/ref/roadrunner.exportscene.html
- Import and Export Scenes from RoadRunner: https://www.mathworks.com/videos/importing-and-exporting-scenes-with-roadrunner-1597837006663.html?requestedDomain=
- Export to CARLA: https://www.mathworks.com/help/roadrunner/ug/export-to-carla.html#mw_81aac066-c56d-4bcc-81b7-8c49f71e641b
I hope this helps.