An autonomous vehicle is configured to move across a floor surface in an environment. The autonomous vehicle includes a proximity sensor that is positionable at different heights on the autonomous vehicle. A location of the autonomous vehicle within the environment is determined. A proximity sensor height is determined based on the location of the autonomous vehicle within the environment. The proximity sensor is positioned at a height on the autonomous vehicle based on the proximity sensor height. A signal is received from the proximity sensor where the signal is indicative of a distance to an object within the environment at the height of the proximity sensor on the autonomous vehicle. An operation of the autonomous vehicle can be controlled based on the signal indicative of the distance to the object.