A method for operating a medical-robotic device is provided. The robotic device includes a number of components able to be moved autonomously in an environment of the robotic device. Planning data for an autonomous movement or constraint of at least one subset of the movable components is provided to the robotic device. A movement or constraint of the corresponding movable components to be carried out autonomously by the robotic device is planned based on the planning data provided. The planned movement or constraint is visually presented. A way for an operator to exert influence on the planned movement or constraint is provided, and the movement or constraint is autonomously carried out as a function of the influence exerted.