Skip to content

Feat: simplify positioning for supplementary signs from osc

This PR simplifies the positioning logic for supplementary sign entities. Previously, while parsing supplementary signs from OSC files was supported, positioning each supplementary sign required defining a teleport action. This approach was inconvenient, particularly when multiple supplementary signs were defined within scenarios.

When no teleport action is defined, the position of a supplementary sign can be derived from the main sign’s position, orientation, vertical offset, and geometric center. The supplementary sign's position and orientation will be overrided by the deduced position und orientation in such a case.

References: A related PR in gt-gen-simulator demonstrates the use case, and this feature has been tested locally in integration with gt-gen-simulator.

pipeline: https://ci.eclipse.org/openpass/job/GtGenCore/view/change-requests/job/MR-147/ image

Edited by Ziqi Zhou

Merge request reports

Loading