open_simulation_interface
v3.4.0 (2021-11-18)
|
Classification
data for a road surface marking.
More...
Public Types | |
enum | Type { TYPE_UNKNOWN = 0 , TYPE_OTHER = 1 , TYPE_PAINTED_TRAFFIC_SIGN = 2 , TYPE_SYMBOLIC_TRAFFIC_SIGN = 3 , TYPE_TEXTUAL_TRAFFIC_SIGN = 4 , TYPE_GENERIC_SYMBOL = 5 , TYPE_GENERIC_LINE = 6 , TYPE_GENERIC_TEXT = 7 } |
enum | Color { COLOR_UNKNOWN = 0 , COLOR_OTHER = 1 , COLOR_WHITE = 2 , COLOR_YELLOW = 3 , COLOR_BLUE = 5 , COLOR_RED = 6 , COLOR_GREEN = 7 , COLOR_VIOLET = 8 , COLOR_ORANGE = 9 } |
Public Attributes | |
optional Type | type = 1 |
optional TrafficSign::MainSign::Classification::Type | traffic_main_sign_type = 2 |
optional Color | monochrome_color = 3 |
optional TrafficSignValue | value = 4 |
optional string | value_text = 5 |
repeated Identifier | assigned_lane_id = 6 |
optional bool | is_out_of_service = 7 |
optional string | country = 8 |
optional string | country_revision = 9 |
optional string | code = 10 |
optional string | sub_code = 11 |
Classification
data for a road surface marking.
Definition of semantic road marking colors
Definition of road marking types.
repeated Identifier osi3::RoadMarking::Classification::assigned_lane_id = 6 |
The ID(s) of the lane(s) that the road marking is assigned to. May be multiple if the road marking goes across multiple lanes.
\rules refers_to: Lane \endrules
optional string osi3::RoadMarking::Classification::code = 10 |
Code specification of the traffic sign catalog specification that identifies the actual traffic sign. This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Code identifier according to country and country revision, corresponds to the type field of OpenDRIVE.
code is only unique in combination with country and country_revision.
e.g. http://www.vzkat.de/2017/VzKat.htm
type
== TYPE_PAINTED_TRAFFIC_SIGN
or TYPE_SYMBOLIC_TRAFFIC_SIGN
or TYPE_TEXTUAL_TRAFFIC_SIGN
).TYPE_OTHER
) if road marking type (type
) does not require it.\rules check_if this.type is_greater_than_or_equal_to 2 else do_check is_set check_if this.type is_less_than_or_equal_to 4 else do_check is_set \endrules
optional string osi3::RoadMarking::Classification::country = 8 |
Country specification of the traffic sign catalog specification that identifies the actual traffic sign. This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Country is specified using the ISO 3166-1, alpha-2 code https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2, or the special OpenDRIVE country for generic signs.
\rules check_if this.type is_greater_than_or_equal_to 2 else do_check is_set check_if this.type is_less_than_or_equal_to 4 else do_check is_set \endrules
optional string osi3::RoadMarking::Classification::country_revision = 9 |
Revision specification of the traffic sign catalog specification that identifies the actual traffic sign. This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
The year the traffic rules came into force.
e.g. "2017"
type
== TYPE_PAINTED_TRAFFIC_SIGN
or TYPE_SYMBOLIC_TRAFFIC_SIGN
or TYPE_TEXTUAL_TRAFFIC_SIGN
).TYPE_OTHER
) if road marking type (type
) does not require it.\rules check_if this.type is_greater_than_or_equal_to 2 else do_check is_set check_if this.type is_less_than_or_equal_to 4 else do_check is_set \endrules
optional bool osi3::RoadMarking::Classification::is_out_of_service = 7 |
Boolean flag to indicate that the road marking is taken out of service. This can be achieved by visibly crossing the road marking with stripes, or completely covering a road marking making it not visible.
optional Color osi3::RoadMarking::Classification::monochrome_color = 3 |
The semantic monochrome color of the road marking.
COLOR_OTHER
) if road marking type does not require it (e.g. for type
== TYPE_PAINTED_TRAFFIC_SIGN
).\rules check_if this.type is_equal_to 2 else do_check is_set check_if this.monochrome_color is_equal_to 1 else do_check is_set \endrules
optional string osi3::RoadMarking::Classification::sub_code = 11 |
Sub-code specification of the traffic sign catalog specification that identifies the actual traffic sign. This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Sub-code identifier according to country, country revision and code, corresponds to the subtype field of OpenDRIVE.
sub_code is only unique in combination with country, country_revision, and code.
e.g. http://www.vzkat.de/2017/VzKat.htm
type
== TYPE_PAINTED_TRAFFIC_SIGN
or TYPE_SYMBOLIC_TRAFFIC_SIGN
or TYPE_TEXTUAL_TRAFFIC_SIGN
).TYPE_OTHER
) if road marking type (type
) does not require it.\rules check_if this.type is_greater_than_or_equal_to 2 else do_check is_set check_if this.type is_less_than_or_equal_to 4 else do_check is_set \endrules
optional TrafficSign::MainSign::Classification::Type osi3::RoadMarking::Classification::traffic_main_sign_type = 2 |
Traffic sign as road marking (color image, monochrome image or character string).
type
== TYPE_PAINTED_TRAFFIC_SIGN
or TYPE_SYMBOLIC_TRAFFIC_SIGN
or TYPE_TEXTUAL_TRAFFIC_SIGN
).TYPE_OTHER
) if road marking type (type
) does not require it.\rules check_if this.type is_greater_than_or_equal_to 2 else do_check is_set check_if this.type is_less_than_or_equal_to 4 else do_check is_set \endrules
optional Type osi3::RoadMarking::Classification::type = 1 |
The type of the road marking.
optional TrafficSignValue osi3::RoadMarking::Classification::value = 4 |
Additional value associated with the road marking, e.g. value of the speed limit.
value_text
and not TrafficSignValue
for simple chars. optional string osi3::RoadMarking::Classification::value_text = 5 |
Additional text value as road marking, e.g. BUS, TAXI etc.