latentbrief
← Back to concepts

Concept

Motion Planning

The algorithmic problem of computing a collision-free path for a robot or agent from a start configuration to a goal configuration through an environment with obstacles - the core of autonomous robot navigation and manipulation.

Added May 18, 2026

A robot that knows where it is (via SLAM or GPS) and what it wants to do must still determine how to move to accomplish its goals without colliding with obstacles or violating its own physical constraints. Motion planning is the field that computes these collision-free trajectories, covering problems from 2D robot navigation to high-dimensional robot arm manipulation in cluttered environments.

The configuration space (C-space) concept is central to motion planning. Instead of reasoning about the robot in 3D space, we reason about all possible configurations of the robot (joint angles for an arm, position and heading for a mobile robot). Obstacles in 3D space correspond to forbidden regions in C-space (configurations where the robot would collide). Motion planning becomes finding a path through the free C-space from start configuration to goal configuration.

Grid-based planners discretise the environment and use graph search algorithms (Dijkstra's, A*) to find shortest paths. A* with an admissible heuristic (like Euclidean distance to goal) efficiently finds optimal paths in grid environments. Probabilistic grid representations and multi-resolution grids handle large environments efficiently. Grid methods work well for 2D navigation but scale poorly to high-dimensional C-spaces (a 6-DOF robot arm has 6-dimensional C-space).

Sampling-based planners address high-dimensional spaces. Rapidly-exploring Random Trees (RRT) builds a tree by randomly sampling configurations and connecting them to the nearest existing node (if the connecting path is collision-free). RRT* is the asymptotically optimal variant that rewires the tree to maintain shortest paths. Probabilistic Roadmap Method (PRM) pre-builds a graph by randomly sampling configurations and connecting nearby pairs, then queries the graph for start-to-goal paths. These methods scale to many dimensions and handle complex geometry.

Optimisation-based planners formulate motion planning as an optimisation problem with collision constraints, smoothness objectives, and dynamic feasibility constraints. Trajectory optimisation methods like TrajOpt or CHOMP iteratively refine an initial path to be smooth, collision-free, and dynamically feasible. These produce smooth, high-quality trajectories but require a collision-free initialisation.

Learning-based approaches use neural networks to predict motion plans: learning a policy that maps state to control directly, using learned value functions to guide tree search, or training diffusion models over trajectory distributions that can be conditioned on goal states. These can incorporate complex learned priors but may require extensive robot interaction data.

Analogy

A navigation app planning a driving route through a city with traffic, road closures, and turn restrictions. The app needs to find a path from your origin to your destination that respects all constraints (one-way streets, weight limits, road closures), is reasonably efficient, and avoids obstacles (closed roads). Motion planning for robots solves the same problem in a more general setting: finding physically feasible, collision-free paths through the robot's configuration space, respecting its kinematic and dynamic constraints.

Real-world example

A 7-DOF robot arm must pick up a component from a cluttered assembly line and place it in a specific bin without colliding with surrounding components, the conveyor belt, or its own body. RRT* samples configurations in 7-dimensional joint space, building a tree that connects start (arm in home position) to goal (arm over the bin) through collision-free paths. The planner finds a path in 0.3 seconds, which the arm executes at the target speed, avoiding all obstacles by maintaining minimum clearance throughout the trajectory.

Why it matters

Motion planning is the operational core of physical robot autonomy. Without it, a robot cannot safely navigate or manipulate objects regardless of how good its perception or control is. Understanding motion planning explains why autonomous vehicles require not just object detection but complex planning stacks, why robot manipulation in cluttered environments is genuinely hard, and why planning algorithms like A*, RRT, and trajectory optimisation appear throughout robotics research and deployment.

In the news

Related concepts