In robotics, describing where a robot is and how its links are oriented is everything. Some of the building blocks include coordinate frames, position vectors, rotation matrices. Let's take a quick peek at them!
Coordinate Frames A coordinate frame is simply a set of reference axes () attached to a specific point, acting like a mini 3D graph paper. In robotics, we constantly juggle multiple frames: a fixed "world" frame anchored to the room, and moving frames attached to each joint of the robot.
Position Vectors To locate a physical point in space relative to a reference frame , we use a position vector:
Think of these coordinates as walking instructions: take steps along the -axis, along the -axis, and along the -axis. Crucially, position is relative. If you change your viewpoint to a new coordinate frame, the numerical values of the vector change, even though the physical point hasn't moved.
Rotation Matrices While a position vector handles translation, orientation requires a matrix. We represent the orientation of a frame relative to frame using a rotation matrix . This is built by placing the unit axes of expressed in 's coordinates side by side:
Rotation matrices belong to a group called and must satisfy two strict rules:
These rules ensure that a rotation matrix only rotates space without stretching, shearing, or reflecting it like a mirror. A powerful property of these matrices is that their inverse is simply their transpose (), making it effortless to reverse a perspective.
Changing Perspectives To convert a point measured in frame into the coordinates of frame , we multiply it by the rotation matrix:
By multiplying these matrices together (), we can chain transformations across multiple robot links.
In the future we'll put these blocks together and see them in motion!
