A patient support device has a bed, a travel mechanism designed to move the patient support device, a control computer and a sensor, which detects at least one environmental parameter of the patient support device. The control computer ascertains a control parameter for controlling the travel mechanism depending on the at least one detected environmental parameter.