Patent attributes
Systems and methods are disclosed for determining tool offset data for a tool attached to a robot at an attachment point. In an embodiment, a method includes controlling the robot to contact a reference object with the tool. The reference object is a rigid object with a known location. A force feedback sensor of the robot indicates when the tool has contacted the reference object. Once contact is made, data indicating robot position during tool contact is received. Additionally, the robot temporarily stops movement of the tool to prevent damage to the tool or the reference object. Next, tool offset data is determined based on the position of the reference object relative to the robot and the received robot position data. The tool offset data describes the distance between at least one point on the tool and the attachment point.