| CPC G01S 7/4914 (2013.01) [G01S 17/894 (2020.01)] | 15 Claims |

|
1. A distance measuring sensor comprising:
a memory storing a program, and
at least one processor configured to execute the program to perform operations comprising:
receiving, by a light receiving unit, reflected light obtained by reflection of irradiation light emitted from a predetermined light emitting source by an object;
calculating distance information to the object and luminance information from a signal obtained by the light receiving unit;
executing a predetermined detection process by using at least one of the distance information or the luminance information in accordance with a current operation mode selected from among a plurality of operation modes, wherein the plurality of operation modes include a first detection process and a second detection process;
executing the second detection process in a case where a detection target is detected in the first detection process; and
outputting a result of the second detection process together with the distance information and the luminance information in a case where the detection target is detected in the second detection process.
|