Mathematics · also Robotics
Coordinate frames and transforms
A coordinate frame is an origin plus a set of axes from which positions are measured. A robot uses many frames at once: one for the world, one for its base, one for each link and one for its tool. A rotation matrix describes how one frame is turned relative to another, and a homogeneous transform combines that rotation with a translation in a single matrix. Multiplying transforms chains them together, so the tool's position in the world can be found step by step. Inverting a transform reverses the direction of the conversion.
Why it mattersA camera sees an object in its own frame, but the gripper must move to it in the robot's base frame, so the robot needs the transform between them.