Skip to content
Tactiverge

Robotics terminology

Coordinate frame

Also called: reference frame · world frame · robot frame · body frame · frame transform

Definition

A coordinate frame is an origin plus a set of axes used to describe positions and directions. Robots use several: world, base, each joint, sensors and the tool.

Picture it

'The cup is 30 cm ahead' is true in the robot's frame; the world needs to know where the robot is and which way it faces. Converting between frames is a rotation followed by a translation, and most robotics bugs are frame mix-ups.

The maths

p_world = R(θ) × p_robot + t_robot
SI units used in this entry
QuantityUnitSymbol
lengthmetrem
angleradianrad

Worked example

A robot at world position (2, 0) m facing 180° detects a wall 1.5 m ahead (at (1.5, 0) in its own frame). Where is the wall in world coordinates?

  1. Rotate by 180°: (1.5 cos 180°, 1.5 sin 180°) = (−1.5, 0)
  2. Translate: (2 − 1.5, 0) = (0.5, 0)

AnswerAt (0.5, 0) m in the world frame.

✓ The number in this answer is recomputed from scratch by an automated test.

Common misconceptions

  • Misconception: A frame is not just an origin; the axes' directions matter as much.
  • Misconception: Different libraries use different conventions (x forward vs y forward); write yours down.