Skip to content

Commit ccc92f4

Browse files
authored
Update osi_environment.proto
adjusted comments to fit the documentation style guide
1 parent f6df707 commit ccc92f4

File tree

1 file changed

+45
-29
lines changed

1 file changed

+45
-29
lines changed

osi_environment.proto

Lines changed: 45 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,19 @@ message EnvironmentalConditions
1212
// The ambient illumination of the environment.
1313
//
1414
optional AmbientIllumination ambient_illumination = 1;
15-
1615
// The time of day.
1716
//
18-
optional TimeOfDay time_of_day = 2;
19-
17+
optional TimeOfDay time_of_day = 2;
2018
// Atmospheric pressure in Pascal at z=0.0 in world frame.
2119
//
2220
optional double atmospheric_pressure = 3;
23-
24-
// Temperature in Kelvin at z=0.0 in world frame
21+
// Temperature in Kelvin at z=0.0 in world frame.
2522
//
2623
optional double temperature = 4;
27-
28-
// Precipitation
24+
// Precipitation.
2925
//
3026
optional Precipitation precipitation = 5;
31-
32-
// Fog
27+
// Fog.
3328
//
3429
optional Fog fog = 6;
3530

@@ -42,26 +37,35 @@ message EnvironmentalConditions
4237
enum Precipitation
4338
{
4439
// Intensity of precipitation is unknown (must not be used in ground truth).
40+
//
4541
PRECIPITATION_UNKNOWN = 0;
46-
// Other (unspecified but known) intensity of precipitation
42+
// Other (unspecified but known) intensity of precipitation.
43+
//
4744
PRECIPITATION_OTHER = 1;
48-
// No precipitation, when I = [0 ; 0.1[
45+
// No precipitation, when I = [0,0.1[
46+
//
4947
PRECIPITATION_NONE = 2;
50-
// Very light intensity of precipitation, when I = [0.1 ;0.5[
48+
// Very light intensity of precipitation, when I = [0.1,0.5[
49+
//
5150
PRECIPITATION_VERY_LIGHT = 3;
52-
// Light intensity of precipitation, when I = [0.5 ;1.9[
51+
// Light intensity of precipitation, when I = [0.5,1.9[
52+
//
5353
PRECIPITATION_LIGHT = 4;
54-
// Moderate intensity of precipitation, when I = [1.9 ; 8.1[
54+
// Moderate intensity of precipitation, when I = [1.9,8.1[
55+
//
5556
PRECIPITATION_MODERATE = 5;
56-
// Heavy intensity of precipitation, when I = [8.1 ; 34[
57+
// Heavy intensity of precipitation, when I = [8.1,34[
58+
//
5759
PRECIPITATION_HEAVY = 6;
58-
// Very heavy intensity of precipitation, when I = [34 ;149[
60+
// Very heavy intensity of precipitation, when I = [34,149[
61+
//
5962
PRECIPITATION_VERY_HEAVY = 7;
60-
// Extreme intensity of precipitation, when I = [149 ; infinity[
63+
// Extreme intensity of precipitation, when I = [149,infinity[
64+
//
6165
PRECIPITATION_EXTREME = 8;
6266
}
6367

64-
// Definition of fog states according to [2] the bandwith of thick and dense fog was adjusted to fit the german StVo regarding rear fog lights [3].
68+
// Definition of fog states according to [2] the bandwith of thick and dense fog was adjusted to fit the German StVo regarding rear fog lights [3].
6569
// (V = Visibility in meters)
6670
//
6771
// Visability is defined as the lenght of the atmosphere over which a beam of light travels before its luminous flux is reduced to 5% of its original value (definition used by the Meteorological Office [4]).
@@ -73,34 +77,47 @@ message EnvironmentalConditions
7377
// [4] [Homepage of the Meteorological Office](http://www.metoffice.gov.uk/guide/weather/observations-guide/how-we-measure-visibility)
7478
enum Fog
7579
{
76-
// Visibility is unknown (must not be used in ground truth)
80+
// Visibility is unknown (must not be used in ground truth).
81+
//
7782
FOG_UNKOWN = 0;
78-
// Other (unspecified but known) fog intensity
83+
// Other (unspecified but known) fog intensity.
84+
//
7985
FOG_OTHER = 1;
80-
// Excellent visibility, when V = [40,000 ; infinity[
86+
// Excellent visibility, when V = [40000,infinity[
87+
//
8188
FOG_EXCELLENT_VISIBILITY = 2;
82-
// Good visibility, when V = [10,000 ; 40,000[
89+
// Good visibility, when V = [10000,40000[
90+
//
8391
FOG_GOOD_VISIBILITY = 3;
84-
// Moderate visibility, when V = [4000 ; 10,000[
92+
// Moderate visibility, when V = [4000,10000[
93+
//
8594
FOG_MODERATE_VISIBILITY = 4;
86-
// Poor visibility, when V = [2000 ; 4000[
95+
// Poor visibility, when V = [2000,4000[
96+
//
8797
FOG_POOR_VISIBILITY = 5;
88-
// Mist, when V = [1000 ; 2000[
98+
// Mist, when V = [1000,2000[
99+
//
89100
FOG_MIST = 6;
90-
// Fog, when V = [200 ; 1000[
101+
// Fog, when V = [200,1000[
102+
//
91103
FOG_LIGHT = 7;
92-
// Thick fog, when V = [50 ; 200[
104+
// Thick fog, when V = [50,200[
105+
//
93106
FOG_THICK = 8;
94-
// Dense fog, when V = [0 ; 50[ (allowed to use rear fog light)
107+
// Dense fog, when V = [0,50[
108+
// (allowed to use rear fog light according to [3])
95109
FOG_DENSE = 9;
96110
}
97111

98112
// Definition of ambient illumination states.
113+
//
99114
enum AmbientIllumination
100115
{
101116
// Ambient illumination is unknown (must not be used in ground truth).
117+
//
102118
AMBIENT_ILLUMINATION_UNKNOWN = 0;
103119
// Other (unspecified but known) ambient illumination.
120+
//
104121
AMBIENT_ILLUMINATION_OTHER = 1;
105122
// Ambient illumination index is "bright".
106123
// E.g. daytime with sunshine.
@@ -111,7 +128,6 @@ message EnvironmentalConditions
111128
// Ambient illumination index is "low".
112129
// E.g. during twilight (dawn/dusk) or in a tunnel.
113130
AMBIENT_ILLUMINATION_LOW = 4;
114-
115131
// Ambient illumination index is "dark".
116132
// E.g. night time, no sunlight.
117133
AMBIENT_ILLUMINATION_DARK = 5;

0 commit comments

Comments
 (0)