File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,31 @@ message EnvironmentalConditions
1414
1515 /// The time of day.
1616 optional TimeOfDay time_of_day = 2 ;
17+
18+ /// Atmospheric pressure in Pascal at z=0.0 in world frame
19+ optional double atmospheric_pressure = 3 ;
20+
21+ /// Temperature in Kelvin at z=0.0 in world frame
22+ optional double temperature = 4 ;
23+
24+ /// Precipitation
25+ optional Precipitation precipitation = 5 ;
26+
27+ /// Definition of precipitation states. See https://en.wikipedia.org/wiki/Rain#Measurement
28+ enum Precipitation
29+ {
30+ /// Light intensity rain, when the precipitation rate is < 2.5 mm per hour
31+ PRECIPITATION_RAIN_LIGHT = 0 ;
32+
33+ /// Medium intensity rain, when the precipitation rate is between 2.5 mm and 10 mm per hour
34+ PRECIPITATION_RAIN_MEDIUM = 1 ;
35+
36+ /// High intensity rain, when the precipitation rate is between 10 mm and 50 mm per hour
37+ PRECIPITATION_RAIN_HIGH = 2 ;
38+
39+ /// Violent intensity rain, when the precipitation rate is > 50 mm per hour
40+ PRECIPITATION_RAIN_VIOLENT = 3 ;
41+ }
1742
1843 /// Definition of ambient illumination states.
1944 enum AmbientIllumination
You can’t perform that action at this time.
0 commit comments