Skip to content

Missing version and comment for attribute "model" in version 1.1 and 1.2 #199

@ZhimingWu89

Description

@ZhimingWu89

Describe the bug
There are no version and commet defined for the attribute "model" in the version 1.1 and 1.2. The message is shown as below when trying to parse the OpenSCANARIO file of version 1.1 or 1.2 that contains this attribute, e.g. Pedestrian in the ScenarioObjects

Attribute 'model' is deprecated since standard version 'n/a'. Comment: 'n/a'.

Missing element could be found in the OpenSCENARIO_Ea_1.2.0.xmi and OpenSCENARIO_Ea_1.1.0.xmi files which could be found in generator/src/main/resources/input

<osc:deprecated base_Property="EAID_645F9350_BFB1_4c49_B758_E217CF1B6EBC" />
To Reproduce
Steps to reproduce the behavior:

  1. Load the OpenSCENARIO file with ScenarioObjects/Pedestrian.

Expected behavior
Log with the right message
withVersion="1.1" comment="Use model3d instead."

Desktop (please complete the following information):

  • OS: all platform
  • Version: v1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions