Abstract
In examples, a robotic medical system comprises a link of a robotic arm and a processor configured to control movement of the link based on a received input; determine a distance between the link and another object during the movement; and, responsive to the distance being within a threshold, adjust the movement of the link to avoid a collision between the link and the another object.