Skip to content

Commit 8761e3a

Browse files
Fix enum definition of rain intensity
1 parent 6a032b6 commit 8761e3a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

osi_environment.proto

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,18 @@ message EnvironmentalConditions
2727
/// Definition of precipitation states. See https://en.wikipedia.org/wiki/Rain#Measurement
2828
enum Precipitation
2929
{
30+
/// Rain intensity is unknown (must not be used in ground truth).
31+
PRECIPITATION_RAIN_UNKNOWN = 0;
32+
/// Other (unspecified but known) rain intensity
33+
PRECIPITATION_RAIN_OTHER = 1;
3034
/// Light intensity rain, when the precipitation rate is < 2.5 mm per hour
31-
PRECIPITATION_RAIN_LIGHT = 0;
32-
35+
PRECIPITATION_RAIN_LIGHT = 2;
3336
/// Medium intensity rain, when the precipitation rate is between 2.5 mm and 10 mm per hour
34-
PRECIPITATION_RAIN_MEDIUM = 1;
35-
37+
PRECIPITATION_RAIN_MEDIUM = 3;
3638
/// High intensity rain, when the precipitation rate is between 10 mm and 50 mm per hour
37-
PRECIPITATION_RAIN_HIGH = 2;
38-
39+
PRECIPITATION_RAIN_HIGH = 4;
3940
/// Violent intensity rain, when the precipitation rate is > 50 mm per hour
40-
PRECIPITATION_RAIN_VIOLENT = 3;
41+
PRECIPITATION_RAIN_VIOLENT = 5;
4142
}
4243

4344
/// Definition of ambient illumination states.

0 commit comments

Comments
 (0)