The master equation, used for every pose question in this section:
Symbol legend:
- - the point in world coordinates
- - the same physical point in body coordinates
- - the body’s orientation in world; its columns are the body’s axes expressed in world coordinates
- - the body’s origin (center of mass) in world coordinates
Decision table
Identify what’s being asked, then use that row:
| Asked for | Use | Note |
|---|---|---|
| Point in world coordinates | as-is | |
| Point in body coordinates | subtract first, then on the left | |
| Position / origin / center of mass | compute first | |
| Orientation | read the columns off the figure | not algebra: column is the body’s -th axis in world coordinates |
| Pose | state both | position and orientation together |
Rules that prevent most errors
- Label every vector with its frame before starting. Most mistakes are a mislabel, not bad algebra.
- always multiplies a body-frame vector. If sits next to something, that something is in body coordinates.
- Matrix inverses go on the left, because that is the side sits on. Matrix multiplication does not commute, so you cannot divide across as in scalar algebra.
- For rotation matrices . Always use the transpose; never invert.
- Notation: a superscript names the frame the coordinates are expressed in, so is the vector to point written in frame . Never write a bare vector without its frame.
Sanity checks
- Rotations preserve length. If a transform changes a distance, it is wrong.
- Sketch the frames before computing, then check the algebra agrees with the drawing.