What is the Function of a Tilt Sensor in a Robot?