switched definition of distance sensors