Skip to content

Commit dff18a9

Browse files
committed
Proposal for the attributes of emitting structures.
Signed-off-by: @lukas.elster <lukas.elster@tu-darmstadt.de>
1 parent 84bde69 commit dff18a9

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
@@ -61,6 +61,10 @@ message StationaryObject
6161
//
6262
optional Color color = 4;
6363

64+
// The attributes of the emitting structure if stationary object is classified as such.
65+
//
66+
optional EmittingStructureAttribute emitting_structure_attribute = 5;
67+
6468
// Definition of object types.
6569
//
6670
enum Type
@@ -269,6 +273,52 @@ message StationaryObject
269273
//
270274
COLOR_WHITE = 10;
271275
}
276+
277+
//
278+
// Attributes of type emitting structure
279+
//
280+
message EmittingStructureAttribute
281+
{
282+
// Maximum wavelength of emitted electromagnetic wave
283+
//
284+
// Unit: m
285+
//
286+
optional double max_wavelength = 0;
287+
288+
// Minimum wavelength of emitted electromagnetic wave
289+
//
290+
// Unit: m
291+
//
292+
optional double min_wavelength = 1;
293+
294+
// Step size for emitted electromagnetic wave
295+
//
296+
// Unit: m
297+
//
298+
optional double wavelength_step = 2;
299+
300+
// Intensities of emitted electromagnetic wave
301+
//
302+
// Unit: %
303+
//
304+
// \note size = (max_wavelength - min_wavelength) / wavelength_step
305+
//
306+
repeated double intensity_per_wavelength = 3;
307+
308+
// Beam angles of emitted electromagnetic wave
309+
//
310+
// Unit: rad
311+
//
312+
repeated Orientation3d beam_angle = 4;
313+
314+
// Intensities of emitted electromagnetic wave per beam
315+
//
316+
// Unit: %
317+
//
318+
// \note size = size of beam_angle
319+
//
320+
repeated double intensity_per_beam = 5;
321+
}
272322
}
273323
}
274324

0 commit comments

Comments
 (0)