Skip to content

Commit cd6454b

Browse files
Merge branch 'master' into feature/ha/new-color-models
2 parents e576a25 + 28bf88e commit cd6454b

2 files changed

Lines changed: 70 additions & 9 deletions

File tree

osi_common.proto

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,25 +143,23 @@ message Dimension3d
143143
// Units are rad for orientation, rad/s for rates, and rad/s^2 for
144144
// accelerations
145145
//
146-
// The preferred angular range is [-pi, pi]. The coordinate system is defined as
147-
// right-handed.
146+
// The coordinate system is defined as right-handed.
148147
// For the sense of each rotation, the right-hand rule applies.
149148
//
150149
// The rotations are to be performed \b yaw \b first (around the z-axis),
151150
// \b pitch \b second (around the new y-axis) and \b roll \b third (around the
152151
// new x-axis) to follow the definition according to [1] (Tait-Bryan / Euler
153-
// convention z-y'-x'').
152+
// convention z-y'-x''). The preferred angular range is [-pi, pi] for roll
153+
// and yaw and [-pi/2, pi/2] for pitch.
154154
//
155155
// Roll/Pitch are 0 if the objects xy-plane is parallel to its parent's
156156
// xy-plane. Yaw is 0 if the object's local x-axis is parallel to its parent's
157157
// x-axis.
158158
//
159159
// \f$ Rotation_{yaw,pitch,roll} =
160-
// Rotation_{roll}*Rotation_{pitch}*Rotation_{yaw} \f$
160+
// Rotation_{yaw}*Rotation_{pitch}*Rotation_{roll} \f$
161161
//
162-
// \f$ vector_{\text{global coord system}} :=
163-
// Rotation_{yaw,pitch,roll}^{-1}( \f$ \c Orientation3d \f$
164-
// )*vector_{\text{local coord system}} + local_{origin}\text{::position} \f$
162+
// \f$ vector_{gobal coord system} := Rotation_{yaw, pitch, roll} * vector_{local coord system} +local_{origin::position} \f$
165163
//
166164
// \attention This definition changed in OSI version 3.0.0. Previous OSI
167165
// versions (V2.xx) had an other definition.
@@ -553,6 +551,7 @@ message StatePoint
553551
//
554552
optional Orientation3d orientation = 3;
555553
}
554+
556555
//
557556
// \brief Detailed WavelengthRange message.
558557
//
@@ -581,6 +580,39 @@ message WavelengthData
581580
}
582581

583582
//
583+
// \brief Definition of a spatial signal strength distribution
584+
// for an emitting / transmitting / receiving entity
585+
// with a horizontal and a vertical angle
586+
// and the corresponding signal strength in dBm (decibels per milliwatt).
587+
//
588+
message SpatialSignalStrength
589+
{
590+
// Horizontal angle (azimuth) of emission / transmission / reception
591+
// in the entity's coordinate system.
592+
//
593+
// Unit: rad
594+
//
595+
optional double horizontal_angle = 1;
596+
597+
// Vertical angle (elevation) of emission / transmission / reception
598+
// in the entity's coordinate system.
599+
//
600+
// Unit: rad
601+
//
602+
optional double vertical_angle = 2;
603+
604+
// Emitted / transmitted /received signal strength
605+
// of the emitting / transmitting / receiving entity
606+
// at the previously defined horizontal and
607+
// vertical angle for one specific wavelength.
608+
// The value for the signal strength
609+
// is given in dBm (decibels per milliwatt).
610+
//
611+
// Unit: dBm
612+
//
613+
optional double signal_strength = 3;
614+
}
615+
584616
// \brief The description of a color within available color spaces.
585617
//
586618
// ColorDescription represents the visual, non-semantic appearance of an object, structure or feature within various available color spaces.

osi_object.proto

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ message StationaryObject
104104
//
105105
optional Color color = 4;
106106

107+
// The attributes of the emitting structure if stationary object is classified as such.
108+
//
109+
optional EmittingStructureAttribute emitting_structure_attribute = 5;
110+
107111
// Definition of object types.
108112
//
109113
enum Type
@@ -171,8 +175,8 @@ message StationaryObject
171175
//
172176
TYPE_OVERHEAD_STRUCTURE = 14;
173177

174-
// Landmarks corresponding to light sources or reflective structures
175-
// in the environment, like street lights or reflective poles on the
178+
// Landmarks corresponding to reflective structures
179+
// in the environment, like reflective poles on the
176180
// road boarder.
177181
//
178182
TYPE_REFLECTIVE_STRUCTURE = 15;
@@ -185,6 +189,11 @@ message StationaryObject
185189
// Object is a speed bump.
186190
//
187191
TYPE_SPEED_BUMP = 17;
192+
193+
// Landmarks corresponding to sources of electromagnetic waves
194+
// in the environment, like street lights.
195+
//
196+
TYPE_EMITTING_STRUCTURE = 18;
188197
}
189198

190199
// Definition of material types.
@@ -315,6 +324,26 @@ message StationaryObject
315324
//
316325
COLOR_WHITE = 10;
317326
}
327+
328+
//
329+
// \brief Attributes of type emitting structure. The horizontal_angle and the vertical_angle in
330+
// emitted_spatial_intensity are symmetrical across the normal, which is defined by the mounting position
331+
// of the emitting structure.
332+
//
333+
message EmittingStructureAttribute
334+
{
335+
// This message determines the range of the emitted wavelength and its
336+
// desired number of samples.
337+
//
338+
repeated WavelengthData wavelength_data = 1;
339+
340+
// Spatial signal strength distribution of the emitted electromagnetic wave.
341+
// For every sample in wavelength_data an emitted_spatial_signal_strength has to be defined.
342+
//
343+
// \note emitted_spatial_signal_strength.size() = WavelengthData.samples_number.size()
344+
//
345+
repeated SpatialSignalStrength emitted_spatial_signal_strength = 3;
346+
}
318347
}
319348
}
320349

0 commit comments

Comments
 (0)