A method for controlling a lighting system for a motor vehicle having a system for detecting objects includes defining at least one set of detectable types of objects and acquiring, by means of the detection system, a set of data relating to the position of a plurality of objects of types belonging…