Skip to content

Commit 0db0536

Browse files
author
Kmeid Saad
committed
Updated CameraSensorViewConfiguration Message
1 parent e345aad commit 0db0536

File tree

1 file changed

+63
-2
lines changed

1 file changed

+63
-2
lines changed

osi_sensorviewconfiguration.proto

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,67 @@ message CameraSensorViewConfiguration
686686
//
687687
optional uint32 number_of_pixels_vertical = 7;
688688

689+
// Number of rays to cast across horizontal field of view.
690+
//
691+
// \note This is a characteristic of the ray tracing engine of the
692+
// environment simulation, not a direct characteristic of the sensor.
693+
//
694+
// \rules
695+
// is_greater_than_or_equal_to: 1
696+
// \endrules
697+
//
698+
optional uint32 number_of_rays_horizontal = 8;
699+
700+
// Number of rays to cast across vertical field of view.
701+
//
702+
// \note This is a characteristic of the ray tracing engine of the
703+
// environment simulation, not a direct characteristic of the sensor.
704+
//
705+
// \rules
706+
// is_greater_than_or_equal_to: 1
707+
// \endrules
708+
//
709+
optional uint32 number_of_rays_vertical = 9;
710+
711+
// Maximum number of interactions to take into account.
712+
//
713+
// \note This is a characteristic of the ray tracing engine of the
714+
// environment simulation, not a direct characteristic of the sensor.
715+
//
716+
// \rules
717+
// is_greater_than_or_equal_to: 1
718+
// \endrules
719+
//
720+
optional uint32 max_number_of_interactions = 10;
721+
722+
// In use-cases where a spectral ray-tracer is used, this message determines the range of the wavelength
723+
// and its desired number of samples.
724+
//
725+
optional WavelengthData wavelength_data = 11;
726+
727+
// \brief Detailed WavelengthRange message.
728+
//
729+
// Defines the start (minimum) and the end (maximum) values of the wavelength.
730+
// Additionally, the number of samples within this range is defined in this message.
731+
//
732+
message WavelengthData
733+
{
734+
// The start, or the minimum, wavelength to be considered by the spectral ray tracer.
735+
//
736+
// Unit: nm
737+
//
738+
optional uint32 start = 1;
739+
740+
// The end, or the maximum, wavelength to be considered by the spectral ray tracer.
741+
// Unit: nm
742+
//
743+
optional uint32 end = 2;
744+
745+
// Number of samples to be considered withing the defined wavelength range.
746+
//
747+
optional uint32 samples_number = 3;
748+
}
749+
689750
// Format for image data (includes number, kind and format of channels).
690751
//
691752
// In the message provided by the sensor model, this field can
@@ -701,10 +762,10 @@ message CameraSensorViewConfiguration
701762
// cannot provide image data in one of the requested formats.
702763
//
703764
// \rules
704-
// is_greater_than_or_equal_to: 1
765+
// is_greater_than_or_equal_to: 1
705766
// \endrules
706767
//
707-
repeated ChannelFormat channel_format = 8;
768+
repeated ChannelFormat channel_format = 12;
708769

709770
// Channel format.
710771
//

0 commit comments

Comments
 (0)