File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,12 @@ message EnvironmentalConditions
41
41
}
42
42
----
43
43
44
- Enum field names shall use _UPPER_SNAKE_CASE_ .
45
- Enum fields shall always be prefixed with the name of the corresponding enum.
46
- The first enum field should always use the suffix _UNKNOWN_ .
47
- The second enum field should always use the suffix _OTHER_ .
44
+ Enum field value names shall use _UPPER_SNAKE_CASE_ .
45
+ Enum field value names shall always be prefixed with the name of the corresponding enum.
46
+
47
+ For enum fields that are concerned with ground truth or sensor data, the first two enum values shall always be defined with the following rules:
48
+ The first enum field value shall always use the suffix _UNKNOWN_ .
49
+ The second enum field value shall always use the suffix _OTHER_ .
48
50
49
51
[source,protobuf,linenums]
50
52
----
@@ -61,4 +63,6 @@ message EnvironmentalConditions
61
63
AMBIENT_ILLUMINATION_LEVEL1 = 2;
62
64
}
63
65
}
64
- ----
66
+ ----
67
+
68
+ Other enum fields, especially purely technical fields, can deviate from the rules for the first two field values.
You can’t perform that action at this time.
0 commit comments