@@ -686,7 +686,7 @@ message CameraSensorViewConfiguration
686686 //
687687 optional uint32 number_of_pixels_vertical = 7 ;
688688
689- // Format for image data (includes number, kind and format of channels).
689+ // Format for image data (includes number, kind and format of channels).
690690 //
691691 // In the message provided by the sensor model, this field can
692692 // be repeated and all values are acceptable to the model, with
@@ -701,7 +701,7 @@ message CameraSensorViewConfiguration
701701 // cannot provide image data in one of the requested formats.
702702 //
703703 // \rules
704- // is_greater_than_or_equal_to: 1
704+ // is_greater_than_or_equal_to: 1
705705 // \endrules
706706 //
707707 repeated ChannelFormat channel_format = 8 ;
@@ -784,35 +784,35 @@ message CameraSensorViewConfiguration
784784 //
785785 CHANNEL_FORMAT_BAYER_RGGB_F32_LIN = 17 ;
786786
787- // Read Clear Clear Clear Channels UINT8 FP Linear.
787+ // Red Clear Clear Clear Channels UINT8 FP Linear.
788788 //
789789 CHANNEL_FORMAT_RCCC_U8_LIN = 18 ;
790790
791- // Read Clear Clear Clear Channels UINT16 FP Linear.
791+ // Red Clear Clear Clear Channels UINT16 FP Linear.
792792 //
793793 CHANNEL_FORMAT_RCCC_U16_LIN = 19 ;
794794
795- // Read Clear Clear Clear Channels UINT32 FP Linear.
795+ // Red Clear Clear Clear Channels UINT32 FP Linear.
796796 //
797797 CHANNEL_FORMAT_RCCC_U32_LIN = 20 ;
798798
799- // Read Clear Clear Clear Channels Single Precision FP Linear.
799+ // Red Clear Clear Clear Channels Single Precision FP Linear.
800800 //
801801 CHANNEL_FORMAT_RCCC_F32_LIN = 21 ;
802802
803- // Read Clear Clear Blue Channels UINT8 FP Linear.
803+ // Red Clear Clear Blue Channels UINT8 FP Linear.
804804 //
805805 CHANNEL_FORMAT_RCCB_U8_LIN = 22 ;
806806
807- // Read Clear Clear Blue Channels UINT16 FP Linear.
807+ // Red Clear Clear Blue Channels UINT16 FP Linear.
808808 //
809809 CHANNEL_FORMAT_RCCB_U16_LIN = 23 ;
810810
811- // Read Clear Clear Blue Channels UINT32 FP Linear.
811+ // Red Clear Clear Blue Channels UINT32 FP Linear.
812812 //
813813 CHANNEL_FORMAT_RCCB_U32_LIN = 24 ;
814814
815- // Read Clear Clear Blue Channels Single Precision FP Linear.
815+ // Red Clear Clear Blue Channels Single Precision FP Linear.
816816 //
817817 CHANNEL_FORMAT_RCCB_F32_LIN = 25 ;
818818
@@ -847,7 +847,7 @@ message CameraSensorViewConfiguration
847847 // In use-cases where a spectral ray-tracer is used, this message determines the range of the wavelength
848848 // and its desired number of samples.
849849 //
850- optional WavelengthData wavelength_data = 11 ;
850+ repeated WavelengthData wavelength_data = 11 ;
851851
852852 // \brief Detailed WavelengthRange message.
853853 //
@@ -858,18 +858,21 @@ message CameraSensorViewConfiguration
858858 {
859859 // The start, or the minimum, wavelength to be considered by the spectral ray tracer.
860860 //
861- // Unit: nm
861+ // Unit: m
862862 //
863- optional uint32 start = 1 ;
863+ optional double start = 1 ;
864864
865865 // The end, or the maximum, wavelength to be considered by the spectral ray tracer.
866- // Unit: nm
867866 //
868- optional uint32 end = 2 ;
867+ // Unit: m
868+ //
869+ optional double end = 2 ;
869870
870- // Number of samples to be considered withing the defined wavelength range.
871+ // Number of samples to be considered within the defined wavelength range.
871872 //
872- optional uint32 samples_number = 3 ;
873+ // \note This defines the number of wavelengths to be computed during simulation, not to be confused with samples_per_pixel.
874+ //
875+ optional double samples_number = 3 ;
873876 }
874877
875878 // TBD: Optical (and other) effects to apply to image, etc.
0 commit comments