Detection of the presence of static objects