OpenSimulationInterface / open-simulation-interface

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

Fix osi trace robustness #801

Closed pmai closed 6 months ago

pmai commented 7 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 6 months ago

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