Skip to content

Commit

Permalink
Added changeability information
Browse files Browse the repository at this point in the history
  • Loading branch information
thempen committed Nov 2, 2023
1 parent 296c549 commit 402b2af
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions osi_trafficsign.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ message TrafficSignValue
// Additional value associated with a traffic sign or road marking,
// e.g. value of a speed limit.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability or
// TrafficSign::SupplementarySign::Classification::cariability
//
optional double value = 1;

// Unit for additional value.
//
// \note Changeability: Static value
//
optional Unit value_unit = 2;

// Unit for values on traffic sign.
Expand Down Expand Up @@ -158,6 +163,8 @@ message TrafficSignValue
// to the sign is indicated therein. The interpretation of this text is
// left to a user-defined procedure.
//
// \note: Changeability: Dynamic value
//
optional string text = 3;
}

Expand All @@ -175,15 +182,21 @@ message TrafficSign
// is_globally_unique
// \endrules
//
// \note Changeability: Static value
//
optional Identifier id = 1;

// Main sign, e.g. speed limit 30 km/h
//
// \note Changeability: Dynamic value
//
optional MainSign main_sign = 2;

// Additional supplementary signs, e.g. time limits, modifying the traffic
// sign.
//
// \note Changeability: Dynamic value
//
repeated SupplementarySign supplementary_sign = 3;


Expand All @@ -210,6 +223,8 @@ message TrafficSign
// derived from more than one origin segment. Multiple sources
// may be added as reference as well, for example, a map and sensors.
//
// \note Changeability: Static value
//
repeated ExternalReference source_reference = 4;

//
Expand All @@ -231,17 +246,23 @@ message TrafficSign
// This x-axis points from the traffic sign's image in the direction
// from where a 'viewer' could see the traffic sign image.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional BaseStationary base = 1;

// The classification of the traffic sign.
//
// \note Changeability: Dynamic value
//
optional Classification classification = 2;

// Opaque reference of an associated 3D model of the traffic sign.
//
// \note It is implementation-specific how model_references are resolved to
// 3d models.
//
// \note Changeability: Static value
//
optional string model_reference = 3;

//
Expand Down Expand Up @@ -278,6 +299,8 @@ message TrafficSign
// content (e.g., electronic sign bridge) and/or regarding its
// position on the road.
//
// \note Changeability: Static value
//
optional Variability variability = 1;

// The type of the traffic sign.
Expand All @@ -288,6 +311,8 @@ message TrafficSign
// introduced 4-tupel traffic sign catalog specification as used in
// <a href="https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html#_signals">OpenDRIVE</a>.
//
// \note Changeability: Static value
//
optional Type type = 2;

// Additional value associated with the traffic sign, e.g. value of
Expand All @@ -296,6 +321,8 @@ message TrafficSign
// \note Field need not be set if traffic sign type does not require
// it.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional TrafficSignValue value = 3;

// Some traffic signs have an additional arrow symbol as an
Expand Down Expand Up @@ -325,6 +352,8 @@ message TrafficSign
// introduced 4-tupel traffic sign catalog specification as used in
// <a href="https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html#_signals">OpenDRIVE</a>.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional DirectionScope direction_scope = 4;

// The IDs of the lanes that the sign is assigned to.
Expand All @@ -337,6 +366,8 @@ message TrafficSign
// refers_to: Lane
// \endrules
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
repeated Identifier assigned_lane_id = 5;

// Some traffic signs exist in two variants that have
Expand All @@ -355,11 +386,15 @@ message TrafficSign
// introduced 4-tupel traffic sign catalog specification as used in
// <a href="https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html#_signals">OpenDRIVE</a>.
//
// \note Changeability: Static value
//
optional bool vertically_mirrored = 6;

// Boolean flag to indicate that a traffic sign is taken out of service.
// This can be achieved by visibly crossing the sign or covering it completely.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional bool is_out_of_service = 7;

// Country specification of the traffic sign catalog specification
Expand All @@ -371,6 +406,8 @@ message TrafficSign
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2, or the
// special OpenDRIVE country for generic signs.<br>
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional string country = 8;

// Revision specification of the traffic sign catalog specification
Expand All @@ -381,6 +418,8 @@ message TrafficSign
// The year the traffic rules came into force. <br>
// e.g. "2017"
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional string country_revision = 9;

// Code specification of the traffic sign catalog specification
Expand All @@ -393,6 +432,8 @@ message TrafficSign
// code is only unique in combination with #country and #country_revision. <br>
// e.g. http://www.vzkat.de/2017/VzKat.htm
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional string code = 10;

// Sub-code specification of the traffic sign catalog specification
Expand All @@ -406,13 +447,17 @@ message TrafficSign
// and #code. <br>
// e.g. http://www.vzkat.de/2017/VzKat.htm
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
optional string sub_code = 11;

// Assignment of this object to logical lanes.
//
// \note OSI uses singular instead of plural for repeated field
// names.
//
// \note Changeability: Depending: See \c TrafficSign::MainSign::Classification::variability
//
repeated LogicalLaneAssignment logical_lane_assignment = 12;

// Definition of traffic sign types.
Expand Down Expand Up @@ -5594,17 +5639,23 @@ message TrafficSign
// supplementary traffic sign's image in the direction from where a
// 'viewer' could see the supplementary traffic sign image.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
optional BaseStationary base = 1;

// The classification of the supplementary traffic sign.
//
// \note Changeability: Dynamic value
//
optional Classification classification = 2;

// Opaque reference of an associated 3D model of the supplementary traffic sign.
//
// \note It is implementation-specific how model_references are resolved to
// 3d models.
//
// \note Changeability: Static value
//
optional string model_reference = 3;

//
Expand All @@ -5628,6 +5679,8 @@ message TrafficSign
{
// Variability.
//
// \note Changeability: Static value
//
optional Variability variability = 1;

// Definition of supplementary sign types.
Expand Down Expand Up @@ -9081,6 +9134,8 @@ message TrafficSign
// \note OSI uses singular instead of plural for repeated field
// names.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
repeated TrafficSignValue value = 3;

// The IDs of the lanes that the sign is assigned to.
Expand All @@ -9093,6 +9148,8 @@ message TrafficSign
// refers_to: Lane
// \endrules
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
repeated Identifier assigned_lane_id = 4;

// This enumerator indicates a traffic actor (e.g.
Expand All @@ -9105,6 +9162,8 @@ message TrafficSign
// introduced 4-tupel traffic sign catalog specification as used in
// <a href="https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html#_signals">OpenDRIVE</a>.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
repeated Actor actor = 5;

// A direction arrow shown on the supplementary sign.
Expand All @@ -9115,11 +9174,15 @@ message TrafficSign
// introduced 4-tupel traffic sign catalog specification as used in
// <a href="https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html#_signals">OpenDRIVE</a>.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
repeated Arrow arrow = 6;

// Boolean flag to indicate that the supplementary traffic sign is taken out of service.
// This can be achieved by visibly crossing the sign or covering it completely.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
optional bool is_out_of_service = 7;

// Country specification of the traffic sign catalog specification
Expand All @@ -9131,6 +9194,8 @@ message TrafficSign
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2, or the
// special OpenDRIVE country for generic signs.<br>
//
// \note Changeability: Static value
//
optional string country = 8;

// Revision specification of the traffic sign catalog specification
Expand All @@ -9141,6 +9206,8 @@ message TrafficSign
// The year the traffic rules came into force. <br>
// e.g. "2017"
//
// \note Changeability: Static value
//
optional string country_revision = 9;

// Code specification of the traffic sign catalog specification
Expand All @@ -9153,6 +9220,8 @@ message TrafficSign
// code is only unique in combination with #country and #country_revision. <br>
// e.g. http://www.vzkat.de/2017/VzKat.htm
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
optional string code = 10;

// Sub-code specification of the traffic sign catalog specification
Expand All @@ -9166,13 +9235,17 @@ message TrafficSign
// and #code. <br>
// e.g. http://www.vzkat.de/2017/VzKat.htm
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
optional string sub_code = 11;

// Assignment of this object to logical lanes.
//
// \note OSI uses singular instead of plural for repeated field
// names.
//
// \note Changeability: Depending: See \c TrafficSign::SupplementarySign::Classification::variability
//
repeated LogicalLaneAssignment logical_lane_assignment = 12;

// Definition of the traffic actors the supplementary sign makes
Expand Down

0 comments on commit 402b2af

Please sign in to comment.