Skip to content

Commit 9e3e7e2

Browse files
committed
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 97b2f87 commit 9e3e7e2

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
@@ -279,45 +279,34 @@ message StationaryObject
279279
//
280280
message EmittingStructureAttribute
281281
{
282-
// Maximum wavelength of emitted electromagnetic wave
282+
// In use-cases where a spectral ray-tracer is used, this message
283+
// determines the range of the wavelength and its desired number
284+
// of samples.
283285
//
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;
286+
repeated WavelengthData wavelength_data = 1;
299287

300-
// Intensities of emitted electromagnetic wave
288+
// Intensities of emitted electromagnetic wave referred to a discrete
289+
// wavelength defined in WavelengthData.
301290
//
302291
// Unit: %
303292
//
304-
// \note size = (max_wavelength - min_wavelength) / wavelength_step
293+
// \note The size of the message has to be equal to the the size of WavelengthData samples_number
305294
//
306-
repeated double intensity_per_wavelength = 3;
295+
repeated double intensity_per_wavelength = 2;
307296

308-
// Beam angles of emitted electromagnetic wave
297+
// The beam angle of emitted electromagnetic wave in azimuth and elevation
309298
//
310299
// Unit: rad
311300
//
312-
repeated Orientation3d beam_angle = 4;
301+
repeated Spherical2d beam_angle = 3;
313302

314-
// Intensities of emitted electromagnetic wave per beam
303+
// Intensities of emitted electromagnetic wave referred to beam_angle.
315304
//
316305
// Unit: %
317306
//
318-
// \note size = size of beam_angle
307+
// \note The size of the message has to be equal to the discretization in beam_angle.
319308
//
320-
repeated double intensity_per_beam = 5;
309+
repeated double intensity_per_beam = 4;
321310
}
322311
}
323312
}

0 commit comments

Comments
 (0)