Patent attributes
A device may determine a time-of-flight measurement by performing a sample of a sensor based on light received via at least one first spectral filter, wherein the at least one first spectral filter is associated with a spectral range for a time-of-flight measurement; determine that a condition is satisfied with regard to the time-of-flight measurement, wherein the condition relates to an orientation or a position of the sensor or the sensor device relative to a measurement target; trigger a spectrometry measurement to be performed based on determining that the condition is satisfied with regard to the time-of-flight measurement; and perform, based on light received via at least one second spectral filter and by performing a sample of the sensor, the spectrometry measurement for the measurement target based on the condition being satisfied with regard to the time-of-flight measurement.