Skip to content

Commit 5a91980

Browse files
LukasElsterStefan Cyliax
authored andcommitted
Proposal for the attributes of emitting structures.
Signed-off-by: @lukas.elster <lukas.elster@tu-darmstadt.de>
1 parent 235498e commit 5a91980

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

osi_object.proto

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ message StationaryObject
9696
//
9797
optional Color color = 4;
9898

99+
// The attributes of the emitting structure if stationary object is classified as such.
100+
//
101+
optional EmittingStructureAttribute emitting_structure_attribute = 5;
102+
99103
// Definition of object types.
100104
//
101105
enum Type
@@ -308,6 +312,52 @@ message StationaryObject
308312
//
309313
COLOR_WHITE = 10;
310314
}
315+
316+
//
317+
// Attributes of type emitting structure
318+
//
319+
message EmittingStructureAttribute
320+
{
321+
// Maximum wavelength of emitted electromagnetic wave
322+
//
323+
// Unit: m
324+
//
325+
optional double max_wavelength = 0;
326+
327+
// Minimum wavelength of emitted electromagnetic wave
328+
//
329+
// Unit: m
330+
//
331+
optional double min_wavelength = 1;
332+
333+
// Step size for emitted electromagnetic wave
334+
//
335+
// Unit: m
336+
//
337+
optional double wavelength_step = 2;
338+
339+
// Intensities of emitted electromagnetic wave
340+
//
341+
// Unit: %
342+
//
343+
// \note size = (max_wavelength - min_wavelength) / wavelength_step
344+
//
345+
repeated double intensity_per_wavelength = 3;
346+
347+
// Beam angles of emitted electromagnetic wave
348+
//
349+
// Unit: rad
350+
//
351+
repeated Orientation3d beam_angle = 4;
352+
353+
// Intensities of emitted electromagnetic wave per beam
354+
//
355+
// Unit: %
356+
//
357+
// \note size = size of beam_angle
358+
//
359+
repeated double intensity_per_beam = 5;
360+
}
311361
}
312362
}
313363

0 commit comments

Comments
 (0)