@@ -6,6 +6,127 @@ import "osi_common.proto";
66
77package osi3 ;
88
9+ //
10+ // \brief Additional value associated with a traffic sign or road marking
11+ // and its unit.
12+ //
13+ message TrafficSignValue
14+ {
15+ // Additional value associated with a traffic sign or road marking,
16+ // e.g. value of a speed limit.
17+ //
18+ optional double value = 1 ;
19+
20+ // Unit for additional value.
21+ //
22+ optional Unit value_unit = 2 ;
23+
24+ // Unit for values on traffic sign
25+ //
26+ enum Unit
27+ {
28+ // Unit of the sign's value is unknown (must not be used in ground
29+ // truth).
30+ //
31+ UNIT_UNKNOWN = 0 ;
32+
33+ // Other (unspecified but known) unit of the sign's value.
34+ //
35+ UNIT_OTHER = 1 ;
36+
37+ // Value without
38+ // unit.
39+ //
40+ // Unit: []
41+ //
42+ UNIT_NO_UNIT = 2 ;
43+
44+ // Velocity.
45+ // Kilometers per hour.
46+ //
47+ // Unit: [km/h]
48+ //
49+ UNIT_KILOMETER_PER_HOUR = 3 ;
50+
51+ // Velocity .
52+ // Miles per hour.
53+ //
54+ // Unit: [mph]
55+ //
56+ UNIT_MILE_PER_HOUR = 4 ;
57+
58+ // Length.
59+ // Meter.
60+ //
61+ // Unit: [m]
62+ //
63+ UNIT_METER = 5 ;
64+
65+ // Length.
66+ // Kilometer.
67+ //
68+ // Unit: [km]
69+ //
70+ UNIT_KILOMETER = 6 ;
71+
72+ // Length.
73+ // Feet.
74+ //
75+ // Unit: [ft]
76+ //
77+ UNIT_FEET = 7 ;
78+
79+ // Length.
80+ // Mile.
81+ //
82+ // Unit: [mile]
83+ //
84+ UNIT_MILE = 8 ;
85+
86+ // Weight.
87+ // Ton.
88+ //
89+ // Unit: [t]
90+ //
91+ UNIT_METRIC_TON = 9 ;
92+
93+ // Weight.
94+ // Long ton UK 1,016.047 [kg].
95+ //
96+ // Unit: [tn. l.]
97+ //
98+ UNIT_LONG_TON = 10 ;
99+
100+ // Weight.
101+ // Short ton USA 907.1847 [kg].
102+ //
103+ // Unit: [tn. sh.]
104+ //
105+ UNIT_SHORT_TON = 11 ;
106+
107+ // Time of day.
108+ // Hour since midnight.
109+ //
110+ // Unit: [min]
111+ //
112+ UNIT_MINUTES = 12 ;
113+
114+ // Day of the week.
115+ // Days since Monday. Monday = 0; Tuesday = 1; ...
116+ //
117+ // Unit: []
118+ //
119+ UNIT_DAY = 13 ;
120+
121+ // Percentage.
122+ // .
123+ //
124+ // Unit: [%]
125+ //
126+ UNIT_PERCENTAGE = 14 ;
127+ }
128+ }
129+
9130//
10131// \brief A traffic sign.
11132//
@@ -29,28 +150,6 @@ message TrafficSign
29150 //
30151 repeated SupplementarySign supplementary_sign = 3 ;
31152
32- // Definition of the variability of a traffic sign.
33- //
34- enum Variability
35- {
36- // Variability type of sign is unknown (must not be used in ground
37- // truth).
38- //
39- VARIABILITY_UNKNOWN = 0 ;
40-
41- // Other (unspecified but known) variability.
42- //
43- VARIABILITY_OTHER = 1 ;
44-
45- // Fixed sign, i.e. always present.
46- //
47- VARIABILITY_FIXED = 2 ;
48-
49- // Temporary or variable sign, e.g. on a sign bridge.
50- //
51- VARIABILITY_VARIABLE = 3 ;
52- }
53-
54153 //
55154 // \brief Main sign of the traffic sign.
56155 //
@@ -990,126 +1089,27 @@ message TrafficSign
9901089 }
9911090 }
9921091 }
993- }
9941092
995- //
996- // \brief Additional value associated with a traffic sign or road marking
997- // and its unit.
998- //
999- message TrafficSignValue
1000- {
1001- // Additional value associated with a traffic sign or road marking,
1002- // e.g. value of a speed limit.
1003- //
1004- optional double value = 1 ;
1005-
1006- // Unit for additional value.
1007- //
1008- optional Unit value_unit = 2 ;
1009-
1010- // Unit for values on traffic sign
1093+ // Definition of the variability of a traffic sign.
10111094 //
1012- enum Unit
1095+ enum Variability
10131096 {
1014- // Unit of the sign's value is unknown (must not be used in ground
1097+ // Variability type of sign is unknown (must not be used in ground
10151098 // truth).
10161099 //
1017- UNIT_UNKNOWN = 0 ;
1018-
1019- // Other (unspecified but known) unit of the sign's value.
1020- //
1021- UNIT_OTHER = 1 ;
1022-
1023- // Value without
1024- // unit.
1025- //
1026- // Unit: []
1027- //
1028- UNIT_NO_UNIT = 2 ;
1029-
1030- // Velocity.
1031- // Kilometers per hour.
1032- //
1033- // Unit: [km/h]
1034- //
1035- UNIT_KILOMETER_PER_HOUR = 3 ;
1036-
1037- // Velocity .
1038- // Miles per hour.
1039- //
1040- // Unit: [mph]
1041- //
1042- UNIT_MILE_PER_HOUR = 4 ;
1043-
1044- // Length.
1045- // Meter.
1046- //
1047- // Unit: [m]
1048- //
1049- UNIT_METER = 5 ;
1050-
1051- // Length.
1052- // Kilometer.
1053- //
1054- // Unit: [km]
1055- //
1056- UNIT_KILOMETER = 6 ;
1057-
1058- // Length.
1059- // Feet.
1060- //
1061- // Unit: [ft]
1062- //
1063- UNIT_FEET = 7 ;
1064-
1065- // Length.
1066- // Mile.
1067- //
1068- // Unit: [mile]
1069- //
1070- UNIT_MILE = 8 ;
1071-
1072- // Weight.
1073- // Ton.
1074- //
1075- // Unit: [t]
1076- //
1077- UNIT_METRIC_TON = 9 ;
1078-
1079- // Weight.
1080- // Long ton UK 1,016.047 [kg].
1081- //
1082- // Unit: [tn. l.]
1083- //
1084- UNIT_LONG_TON = 10 ;
1085-
1086- // Weight.
1087- // Short ton USA 907.1847 [kg].
1088- //
1089- // Unit: [tn. sh.]
1090- //
1091- UNIT_SHORT_TON = 11 ;
1100+ VARIABILITY_UNKNOWN = 0 ;
10921101
1093- // Time of day.
1094- // Hour since midnight.
1095- //
1096- // Unit: [min]
1102+ // Other (unspecified but known) variability.
10971103 //
1098- UNIT_MINUTES = 12 ;
1104+ VARIABILITY_OTHER = 1 ;
10991105
1100- // Day of the week.
1101- // Days since Monday. Monday = 0; Tuesday = 1; ...
1102- //
1103- // Unit: []
1106+ // Fixed sign, i.e. always present.
11041107 //
1105- UNIT_DAY = 13 ;
1108+ VARIABILITY_FIXED = 2 ;
11061109
1107- // Percentage.
1108- // .
1109- //
1110- // Unit: [%]
1110+ // Temporary or variable sign, e.g. on a sign bridge.
11111111 //
1112- UNIT_PERCENTAGE = 14 ;
1112+ VARIABILITY_VARIABLE = 3 ;
11131113 }
11141114}
11151115
0 commit comments