CommonRoad / commonroad-scenario-designer

Toolbox for Map Conversion and Scenario Creation for Autonomous Vehicles.
https://commonroad.in.tum.de/tools/scenario-designer
GNU General Public License v3.0
27 stars 9 forks source link

Transform traffic controls along with lanelets #15

Closed adscib closed 7 months ago

adscib commented 8 months ago

I noticed that the transform wasn't being applied to the traffic controls when exporting the network, resulting in them being placed away from the map when a custom transformer is used. This fixes the problem for my use case, but I wasn't sure what's the proper way to do the fix, in particular how to copy the traffic control objects.

smaierhofer commented 7 months ago

Thank you for reporting the bug and providing a fix!! I think modifying the objects directly as you did is the best option. We also did it similarly here.