OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
267 stars 125 forks source link

Fix osi trace robustness #801

Closed pmai closed 5 months ago

pmai commented 6 months ago

As identified by @ClemensLinnhoff there is a precedence error in retrieve_offsets which can lead to errors if the function is called again after a completed read.

This PR fixes this bug and adds a test case to detect such errors.

pmai commented 5 months ago

CCB 2024-05-06: Merge as-is.