In a method for controlling a robot arm, which is particularly suitable
for use in medical applications, a robot arm (10) with a redundant number
of joints is used. A torque acting in at least one joint (12a, 12b) is
sensed. By means of a control device, the torque acting in this joint
(12a, 12b) is controlled to become substantially 0.