Skip to content

Commit 0c8c03e

Browse files
LukasElsterStefan Cyliax
authored andcommitted
Updated version of the emitting object message based on the discussion in the SensorModeling Bi-Weekly on 05.02.21.
Signed-off-by: @lukas.elster <lukas.elster@tu-darmstadt.de>
1 parent 5a91980 commit 0c8c03e

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

osi_object.proto

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -318,45 +318,34 @@ message StationaryObject
318318
//
319319
message EmittingStructureAttribute
320320
{
321-
// Maximum wavelength of emitted electromagnetic wave
321+
// In use-cases where a spectral ray-tracer is used, this message
322+
// determines the range of the wavelength and its desired number
323+
// of samples.
322324
//
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;
325+
repeated WavelengthData wavelength_data = 1;
338326

339-
// Intensities of emitted electromagnetic wave
327+
// Intensities of emitted electromagnetic wave referred to a discrete
328+
// wavelength defined in WavelengthData.
340329
//
341330
// Unit: %
342331
//
343-
// \note size = (max_wavelength - min_wavelength) / wavelength_step
332+
// \note The size of the message has to be equal to the the size of WavelengthData samples_number
344333
//
345-
repeated double intensity_per_wavelength = 3;
334+
repeated double intensity_per_wavelength = 2;
346335

347-
// Beam angles of emitted electromagnetic wave
336+
// The beam angle of emitted electromagnetic wave in azimuth and elevation
348337
//
349338
// Unit: rad
350339
//
351-
repeated Orientation3d beam_angle = 4;
340+
repeated Spherical2d beam_angle = 3;
352341

353-
// Intensities of emitted electromagnetic wave per beam
342+
// Intensities of emitted electromagnetic wave referred to beam_angle.
354343
//
355344
// Unit: %
356345
//
357-
// \note size = size of beam_angle
346+
// \note The size of the message has to be equal to the discretization in beam_angle.
358347
//
359-
repeated double intensity_per_beam = 5;
348+
repeated double intensity_per_beam = 4;
360349
}
361350
}
362351
}

0 commit comments

Comments
 (0)