Skip to content

Commit be0ae54

Browse files
Markus WaldmannMarkus Waldmann
authored andcommitted
Added wind message
Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
1 parent f7acd76 commit be0ae54

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

osi_environment.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ 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+
104108
// Definition of discretized precipitation states according to [1].
105109
// (I = Intensity of precipitation in mm per hour mm/h)
106110
//
@@ -324,4 +328,22 @@ message EnvironmentalConditions
324328
//
325329
optional uint32 seconds_since_midnight = 1;
326330
}
331+
332+
//
333+
// \brief Defines wind properties.
334+
//
335+
// \note Describes the wind speed and direction from ASAM OpenSCENARIO
336+
//
337+
message Wind
338+
{
339+
// The target direction of the wind (not the origin direction) in the ground/xy-plane of the \c
340+
// world coordinate system. Corresponds to the heading/yaw angle. \c
341+
// x-axis-direction is 0 rad. Unit [rad]. Range [0...2 pi[
342+
//
343+
optional Vector3d direction = 1;
344+
345+
// The wind speed. Unit [m/s]. Range [0...inf[
346+
//
347+
optional double speed = 2;
348+
}
327349
}

0 commit comments

Comments
 (0)