Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ground truth init configuration #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

clemenshabedank
Copy link
Contributor

Reference to a related issue in the repository

Architecture group discussions

Add a description

Introduced a configuration mechanism for GroundTruthInit with FMU packaging. Goes together with OpenSimulationInterface/open-simulation-interface#407

Some questions to ask:
What is this change?
What does it fix?
Is this a bug fix or a feature? Does it break any existing functionality or force me to update to a new version?
How has it been tested?

Mention a member

Add @mentions of the person or team responsible for reviewing proposed changes.

Check the checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation for osi-sensor-model-packaging.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests / Github Actions pass locally with my changes.

Habedank Clemens added 2 commits June 8, 2021 19:16
Signed-off-by: Habedank Clemens <[email protected]>
@clemenshabedank clemenshabedank changed the title Feature/ar/ground truth init configuration Introduce ground truth init configuration Jun 8, 2021

- The Ids of objects in ``OSMPGroundTruthInit`` MUST be identical to the Ids of
- DEPRECATED: The Ids of objects in ``OSMPGroundTruthInit`` MUST be identical to the Ids of
the same objects contained in later ``OSMPSensorViewIn`` or other input data.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this can be deprecated. I wrote this originally (but probably not clearly enough) because dynamic objects can reference static objects. So a MovingObject can have assigned lanes, but the SensorView will not contain these lanes, since they are static. Probably should be rewritten to say that, and to mention that SensorViews may be incomplete on their own, if used together with GroundTruthInit (e.g. currently osi-validator complains on our SensorView messages, since it references lanes which are only in the GroundTruthInit), but that SensorView + GroundTruthInit must be consistent.

by the model during a simulation run. Any dynamic data (e.g. MovingObjects)
it contains MUST NOT be used and has no specified semantics.
- ``OSMPGroundTruthInit`` MUST contain all data which is requested by the model
in ``OSMPGroundTruthInitConfiguration``but MUST NOT contain more data. The
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space before "but".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants