Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How robots plan movement: kinematics and motion planning explained

    Kinematics describes how a robot's joint positions determine where its hand ends up. Forward kinematics has one answer for an arm,[1] while inverse kinematics may have several or none.[2] Motion planning then finds a collision-free motion that respects joint and actuator limits,[3] and for robots with many joints the usual tools are sampling-based planners such as RRTs and PRMs.[4][5]

    Editor reviewedUpdated Explainer15 claims · 20% primaryRobotics and embodied AI, Computing
    Reading level: 3 passages differ; the rest is the same for everyone.

    Before a robot can learn or reason about a task, something has to turn “put the gripper there” into joint movements that do not hit anything. That is the job of kinematics and motion planning: describing how a robot’s joints place its hand, and finding collision-free motions within its limits.[1][3] This page defines the core terms. Newer learned methods are covered in how robots learn.

    Configurations and degrees of freedom

    A robot’s configuration says where every part of it is. The number of separate values you need to describe it is its number of degrees of freedom (DOF). A solid object floating in space needs six: three for position and three for orientation.[6] Most robot arms are a chain of joints that either rotate or slide, and each adds one degree of freedom.[7]

    The degrees of freedom of a robot equal the dimension of its configuration space (C-space), the space of all its configurations.[6] Revolute and prismatic joints each allow one motion freedom; for an open chain whose joints are all actuated, the DOF is the sum of the joint freedoms.[7] Task space is the space of positions and orientations of the end-effector. The reachable part of task space is the workspace.[8]

    Forward and inverse kinematics

    Forward kinematics answers “if the joints are at these angles, where is the hand?” For a normal robot arm there is exactly one answer.[1] Inverse kinematics answers the harder, more useful question, “what joint angles put the hand here?” There may be several ways to do it, like reaching a cup with your elbow up or down, or no way at all if the target is out of reach.[2]

    For open chains, forward kinematics maps joint positions to a unique end-effector pose, while inverse kinematics may have multiple solutions or none.[2][1] Velocity kinematics relates joint rates to end-effector motion through the Jacobian. At kinematic singularities the end-effector loses the ability to move or rotate in one or more directions.[9]

    Paths, trajectories and motion planning

    A path is the geometric sequence of configurations a robot passes through. A trajectory adds timing, saying when each configuration is reached.[10] Motion planning is the problem of finding a collision-free motion through a cluttered space while staying within joint limits, actuator limits and other physical constraints. Path planning is the narrower problem of finding a collision-free path from a start to a goal.[3]

    There is no single planner that suits every problem.[11] The main families are:

    • Grid-based search divides the space into cells and searches them. It gives the best answer at the chosen resolution, but becomes too costly for systems with more than a few degrees of freedom.[4]
    • Sampling-based planners try random or chosen configurations and connect the collision-free ones. They give up guaranteed optimal answers in exchange for finding workable motions quickly in high-dimensional spaces.[5]
    • Virtual potential fields are the third basic approach covered in standard textbooks.[11]

    RRTs and PRMs

    The two best-known sampling planners are rapidly exploring random trees (RRTs), which grow a tree of moves outward from the start, and probabilistic roadmaps (PRMs), which scatter sample points through free space and link nearby ones into a road map.[5][12] A PRM can be reused for many trips in the same space.[12]

    Most sampling planners are probabilistically complete: if a solution exists, the probability of finding it approaches one as the number of samples grows.[5] A basic RRT grows a tree from an initial state in search of a collision-free motion, a representation used for single-query planning; a PRM samples the free space, connects each sample to several nearest neighbours with a local planner and builds a roadmap graph for multiple-query planning.[12] Collision detection is often treated as a black box, and in most applications collision checking takes most of the computation time.[13]

    In practice

    Much of this is packaged in open-source software. The Open Motion Planning Library (OMPL) collects many sampling-based planners and is the default planner in the MoveIt manipulation software.[14] See also the Robot Operating System.

    What is settled and what is open

    The definitions on this page are standard textbook material.[15] What remains a matter of engineering choice is the trade-off: sampling planners give up resolution-optimal answers to work quickly in high-dimensional spaces,[5] no single planner suits every problem,[11] and collision checking takes most of the computation time.[13]

    Further reading

    Two textbooks covering this material can be read free online from their authors: Modern Robotics (Cambridge University Press, 2017; the free version is the authors’ preprint) and Planning Algorithms (Cambridge University Press, 2006).[15]

    Next in the crash course

    More in Robotics and embodied AI

    Developing in AI & Computing

    Go deeper

    Questions readers ask

    What is the difference between forward and inverse kinematics?

    Forward kinematics works out where the robot's hand (end-effector) is from its joint positions, and for an ordinary arm there is one answer. Inverse kinematics goes the other way, finding joint positions that put the hand at a target, and there may be several solutions or none.[1][2]

    What does "degrees of freedom" mean for a robot?

    It is the number of independent variables needed to describe the robot's configuration. A rigid body in space has six. For an arm whose joints are all motorised, it is the sum of the freedoms of its joints, one per rotating or sliding joint.[6][7]

    What is a kinematic singularity?

    A configuration in which the robot's hand loses the ability to move or rotate in one or more directions.[9]

    What are RRT and PRM?

    They are the two main classes of sampling-based motion planners. A basic rapidly exploring random tree grows a tree from the start in search of a collision-free motion, for one query at a time, while probabilistic roadmaps build a reusable graph of the free space that can answer many start-goal queries.[5][12]

    Why not just search a grid of every possible arm position?

    Grid search gives optimal answers at its resolution, but its cost becomes too high for systems with more than a few degrees of freedom, which is why sampling methods are used for robot arms.[4]

    Sources

    · 15 claims from 4 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      Forward kinematics computes where the end-effector is and how it is oriented from the joint positions; for an open-chain arm the answer is unique. reportedas of 2019-12-01

    2. [2]

      Inverse kinematics finds joint positions that put the end-effector at a desired position and orientation; it is generally harder than forward kinematics because there may be several solutions or none. reportedas of 2019-12-01

    3. [3]

      Motion planning is the problem of finding a collision-free motion through a cluttered workspace while respecting joint limits, actuator limits and other physical constraints; path planning is the narrower problem of finding a collision-free path from start to goal. reportedas of 2019-12-01

    4. [4]

      Grid-based planners give optimal answers at their chosen resolution but are computationally too expensive for systems with more than a few degrees of freedom. reportedas of 2019-12-01

    5. [5]

      Sampling-based planners trade optimality for the ability to find workable solutions quickly in high-dimensional spaces; the two main classes are rapidly exploring random trees (RRTs) and probabilistic roadmaps (PRMs), and most are probabilistically complete. reportedas of 2019-12-01

    6. [6]

      A rigid body moving in space needs six numbers to describe its configuration (three for position, three for orientation); the number of such variables is its degrees of freedom, which is also the dimension of its configuration space. reportedas of 2019-12-01

    7. [7]

      Revolute (rotating) and prismatic (sliding) joints each allow one motion freedom, and for an open-chain arm whose joints are all motorised the robot's degrees of freedom are simply the sum of its joints' freedoms. reportedas of 2019-12-01

    8. [8]

      The task space is the space of positions and orientations of the robot's end-effector (its hand or gripper), and the workspace is the part of the task space the end-effector can reach. reportedas of 2019-12-01

    9. [9]

      Velocity kinematics relates joint speeds to end-effector motion through the Jacobian matrix; at kinematic singularities the end-effector loses the ability to move or rotate in one or more directions. reportedas of 2019-12-01

    10. [10]

      In robotics a trajectory combines a path (the geometric sequence of configurations) with a time scaling that says when each configuration is reached. reportedas of 2019-12-01

    11. [11]

      The Modern Robotics textbook says no single planner fits every motion planning problem and covers three basic approaches, grid-based methods, sampling methods and virtual potential fields. reportedas of 2019-12-01

    12. [12]

      A basic rapidly exploring random tree searches for a collision-free motion from an initial state by growing a tree, a representation used for single-query planning, while a probabilistic roadmap uses sampling to build a roadmap graph approximating the free space, connecting each sample with several of its nearest neighbours using a local planner, so that many queries can be answered efficiently once it is built. reportedas of 2019-12-01

    13. [13]

      Sampling-based planning probes the configuration space with a sampling scheme and often treats collision detection as a black box, and in most motion planning applications most computation time goes on collision checking. confirmedas of 2006-01-01

    14. [14]

      The Open Motion Planning Library (OMPL) collects many sampling-based motion planning algorithms and is the default planning library in the MoveIt manipulation software. confirmedas of 2026-11-22

    15. [15]

      Two textbooks covering this material can be read free online, Modern Robotics (Cambridge University Press, 2017), whose authors post a free preprint, and Planning Algorithms (Cambridge University Press, 2006), which covers motion planning among many other kinds of planning. confirmedas of 2026-11-22

    Revision history (1)
    1. Page created.

    Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Nov 22, 2027.

    Cite this page

    "How robots plan movement: kinematics and motion planning explained." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/robot-kinematics-and-motion-planning

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.