In the process of defining the OpenSCENARIO Protocol Buffer, there are issues where incorrect field names or types may be specified. There are two main reasons for this.
1. Generation Issues
Errors may occur during the manual work and the generation of protobuf using ChatGPT, leading to inaccuracies in field names or types. For example, field name should be camel case format but they are defined in snake case format.
In the process of defining the OpenSCENARIO Protocol Buffer, there are issues where incorrect field names or types may be specified. There are two main reasons for this.
1. Generation Issues
Errors may occur during the manual work and the generation of protobuf using ChatGPT, leading to inaccuracies in field names or types. For example, field name should be camel case format but they are defined in snake case format.
[x] ParameterDeclaration
repeated ValueConstraintGroup constraint_groups = 4; // 0..*
repeated ValueConstraintGroup constraintGroups = 4; // 0..* }
[x] TrafficSignalControllerCondition
required TrafficSignalController trafficSignalControllerRef = 2; // 1..1
required string trafficSignalControllerRef = 2; // 1..1
repeated Phase phaseRef = 3; // 0..* }
[x] EntityAction
required EntityRef entityRef = 1; // 1..1
required string entityRef = 1; // 1..1 optional AddEntityAction addEntityAction = 2; // 0..1 optional DeleteEntityAction deleteEntityAction = 3; // 0..1 }
[x] AddEntityAction
required EntityAction entityAction = 2; // 1..1 }
[x] TrafficSignalControllerAction
required Phase phaseRef = 3; }
[x] TrafficSignalControllerAction
required TrafficSignalController trafficSignalControllerRef = 2;
required string trafficSignalControllerRef = 2; }
[x] FollowTrajectoryAction
[x] ScenarioDefinition
2. Specification Issues
If the OpenSCENARIO specification does not adhere to a unified definition, modifications to field names may be necessary.
entityRef
is defined inEntity
in Table, but XSD 1.0 Representation defined its type toString
.