@@ -101,6 +101,18 @@ message EnvironmentalConditions
101101 //
102102 repeated ExternalReference source_reference = 9 ;
103103
104+ // Definition of the wind speed and direction.
105+ //
106+ optional Wind wind = 11 ;
107+
108+ // Definition of cloud states and the skybox.
109+ //
110+ optional CloudState cloud_state = 10 ;
111+
112+ // Definition of the Sun.
113+ //
114+ optional Sun sun = 12 ;
115+
104116 // Definition of discretized precipitation states according to [1].
105117 // (I = Intensity of precipitation in mm per hour mm/h)
106118 //
@@ -324,4 +336,116 @@ message EnvironmentalConditions
324336 //
325337 optional uint32 seconds_since_midnight = 1 ;
326338 }
339+
340+ //
341+ // \brief Defines wind properties.
342+ //
343+ // \note Describes the wind speed and direction from ASAM OpenSCENARIO
344+ //
345+ message Wind
346+ {
347+ // The target direction of the wind (not the origin direction) in the ground/xy-plane of the \c
348+ // world coordinate system. Corresponds to the heading/yaw angle. \c
349+ // x-axis-direction is 0 rad. Unit [rad]. Range [0...2 pi[
350+ //
351+ optional Vector3d direction = 1 ;
352+
353+ // The wind speed. Unit [m/s]. Range [0...inf[
354+ //
355+ optional double speed = 2 ;
356+ }
357+
358+ // Definition of the cloud state, i.e. cloud state and sky visualization settings.
359+ //
360+ // The total degree of coverage indicates how large the part of the sky vault is which is covered
361+ // with clouds altogether. It is given in eighths, because this division is easier to estimate
362+ // for the observer. 0 eighths means that there are no traces of clouds in the sky,
363+ // 4 eighths means that the sky is covered with clouds up to half, 8 eighths means that the sky is
364+ // completely covered with clouds and no sky blue can be recognized.
365+ //
366+ // For cloud determination, the observer will choose a location from which he can overlook the entire sky.
367+ // When determining the total cloud cover, all clouds or parts of clouds, regardless of height and genus,
368+ // that are above his location will be added. Aircraft contrails are also counted as cloud cover if they remain
369+ // in the sky for more than 15 minutes. On the other hand, fog is not counted as cloud cover.
370+ //
371+ // With a little practice, the observer can easily determine the total amount of cloud cover.
372+ // Problems occur only with scattered clouds or many single clouds (cumulus).
373+ // Their cloud cover is often overestimated. On the other hand,
374+ // the coverage of thin ice clouds (cirrus) is often underestimated.[3]
375+ //
376+ // \par References:
377+ // [1] ISO 15469:2004(E) / CIE S 011/E:2003 : Spatial distribution of skylight
378+ // [2] https://de.wikipedia.org/wiki/Bewölkung
379+ // [3] https://www.dwd.de/DE/service/lexikon/Functions/glossar.html?lv2=100932&lv3=101016
380+ //
381+ enum CloudState
382+ {
383+ // Cloud State is unknown (must not be used in ground truth).
384+ //
385+ CLOUD_STATE_UNKNOWN = 0 ;
386+
387+ // Other (unspecified but known) CloudState.
388+ //
389+ CLOUD_STATE_OTHER = 1 ;
390+
391+ // Cloudless (0/8)
392+ //
393+ CLOUD_STATE_CLOUDLESS = 2 ;
394+
395+ // Sunny (1/8)
396+ //
397+ CLOUD_STATE_SUNNY = 3 ;
398+
399+ // Serene (2/8))
400+ //
401+ CLOUD_STATE_SERENE = 4 ;
402+
403+ // Slightly Cloudy (3/8)
404+ //
405+ CLOUD_STATE_SLIGHTLY_CLOUDY = 5 ;
406+
407+ // Light Cloudy (4/8)
408+ //
409+ CLOUD_STATE_LIGHT_CLOUDY = 6 ;
410+
411+ // Cloudy (5/8)
412+ //
413+ CLOUD_STATE_CLOUDY = 7 ;
414+
415+ // Heavy Cloudy (6/8)
416+ //
417+ CLOUD_STATE_HEAVY_CLOUDY = 8 ;
418+
419+ // Almost Covered (7/8)
420+ //
421+ CLOUD_STATE_ALMOST_COVERED = 9 ;
422+
423+ // Covered (8/8)
424+ //
425+ CLOUD_STATE_COVERED = 10 ;
426+
427+ // No Sky
428+ //
429+ CLOUD_STATE_NO_SKY = 11 ;
430+ }
431+
432+ //
433+ // \brief Specification of sun properties.
434+ //
435+ // \note Defines the specification of sun properties according to ASAM OpenSCENARIO
436+ //
437+ message Sun
438+ {
439+ // Azimuth of the sun, counted counterclockwise, 0=north, PI/2 = east, PI=south, 3/2 PI=west. Unit: radian; Range: [0..2PI].
440+ //
441+ optional double azimuth = 1 ;
442+
443+ // Solar elevation angle, 0=x/y plane, PI/2=zenith. Unit: rad; Range: [-PI..PI].
444+ //
445+ optional double elevation = 2 ;
446+
447+ // Illuminance of the sun, direct sunlight is around 100,00 lx. Unit: lux; Range: [0..inf[.
448+ //
449+ optional double intensity = 3 ;
450+ }
327451}
0 commit comments