Motion planning is the computational process of finding a valid sequence of configurations or control inputs that moves a robot from a start state to a goal state while avoiding obstacles and satisfying kinematic and dynamic constraints. It is a fundamental component of embodied intelligence systems, transforming high-level goals into executable, collision-free trajectories. Algorithms like Probabilistic Roadmaps (PRM) and Rapidly-exploring Random Trees (RRT) are classic solutions for navigating high-dimensional configuration spaces.
Glossary
Motion Planning

What is Motion Planning?
Motion planning is the core algorithmic challenge in robotics and embodied AI, enabling autonomous systems to move purposefully and safely through complex environments.
In modern Vision-Language-Action (VLA) models, motion planning is often integrated with task and motion planning (TAMP) and visuomotor control policies. The planner uses inputs from real-time robotic perception systems, such as 3D scene understanding from cameras or LiDAR, to model the world. The output is a trajectory that can be executed via low-level controllers, often refined through model predictive control (MPC) or learned policies from imitation or reinforcement learning.
Key Motion Planning Algorithms
Motion planning algorithms compute collision-free paths from a start to a goal configuration. This section details the core algorithmic families, from classical graph search to modern sampling-based and optimization-based methods.
Probabilistic Roadmap (PRM)
A sampling-based algorithm that constructs a graph (roadmap) in the free configuration space. It operates in two phases:
- Learning Phase: Randomly sample collision-free configurations (nodes) and connect nearby nodes with simple, collision-free local paths (edges).
- Query Phase: Connect the start and goal configurations to the roadmap and use a graph search (e.g., A*) to find a path.
Key Property: PRM is a multi-query planner. The roadmap is built once and can be reused for multiple start-goal queries, making it efficient for static environments. It excels in high-dimensional spaces where grid-based methods fail.
Rapidly-exploring Random Tree (RRT)
A sampling-based algorithm that incrementally builds a search tree rooted at the start configuration. At each iteration:
- Randomly sample a configuration in the space.
- Find the nearest node in the existing tree.
- Extend the tree from this nearest node toward the sample by a fixed step size, adding a new node if the path is collision-free.
Key Property: RRT is a single-query planner, designed for one start-goal pair. It is probabilistically complete and particularly effective for problems with differential constraints (kinodynamics). Variants like RRT* are asymptotically optimal, converging to the shortest path.
A* Search Algorithm
A graph search algorithm that finds the least-cost path on a discretized representation of the environment (e.g., a grid). It uses a heuristic function h(n) to estimate the cost to the goal, prioritizing the exploration of promising nodes.
Core Function: f(n) = g(n) + h(n), where:
g(n)is the exact cost from the start to noden.h(n)is the admissible heuristic (never overestimates the true cost, e.g., Euclidean distance).
Key Property: A* is optimal and complete for finite graphs with an admissible heuristic. It is the foundation for many grid-based navigation systems but suffers from the curse of dimensionality in high-D spaces.
Model Predictive Control (MPC) for Motion
An online optimization-based control strategy used for trajectory planning and execution. At each control time step:
- Solve a finite-horizon optimal control problem using a dynamic model of the robot.
- The optimization minimizes a cost function (e.g., tracking error, control effort) subject to constraints (dynamics, obstacles, actuator limits).
- Execute only the first control input from the optimized sequence, then re-solve at the next step with updated state feedback.
Key Property: MPC explicitly handles dynamic constraints and obstacle avoidance in a receding horizon fashion, making it robust for controlling drones, autonomous vehicles, and manipulators in dynamic environments.
CHOMP (Covariant Hamiltonian Optimization for Motion Planning)
A trajectory optimization algorithm that refines an initial guess (e.g., from a sampling-based planner) into a smooth, collision-free path. It formulates planning as a nonlinear optimization problem.
Core Mechanics:
- Defines a cost functional combining obstacle avoidance (via a potential field), smoothness, and dynamic constraints.
- Uses covariant gradient descent in the trajectory space, which respects the underlying Riemannian metric of the robot's dynamics for more efficient convergence.
Key Property: CHOMP produces high-quality, continuous trajectories suitable for direct execution, bridging the gap between geometric planning and physical control. It is a precursor to modern STOMP and GPMP2 algorithms.
Fast Marching Method (FMM)
A continuous grid-based algorithm that computes the arrival time of a wavefront propagating from the goal through the environment, solving the Eikonal equation. The result is a potential field where the gradient descent from any start point yields the optimal (shortest) path.
Core Process:
- The grid is initialized with the goal cell having zero cost.
- The wavefront expands, updating neighbor cells with costs proportional to traversal speed (inverse of cell cost).
- The algorithm guarantees the first arrival time at each cell is the globally optimal cost.
Key Property: FMM generates smooth, globally optimal paths in continuous coordinates from a discrete grid, avoiding the jagged paths of standard grid search. It is widely used in robotic navigation and medical imaging.
Frequently Asked Questions
Motion planning is the core algorithmic challenge of robotics, determining how to move a system from a start to a goal while respecting physical laws and avoiding obstacles. These FAQs address the fundamental concepts, algorithms, and practical considerations for engineers and researchers.
Motion planning is the computational process of finding a valid sequence of configurations or control inputs that moves a robot from a start state to a goal state while avoiding obstacles and satisfying kinematic and dynamic constraints. It works by searching through a representation of the robot's configuration space (C-space), where each point represents a possible robot pose. Algorithms like Probabilistic Roadmaps (PRM) or Rapidly-exploring Random Trees (RRT) sample this space to build a graph or tree of feasible states, then search for a path connecting start to goal. For real-time control, this high-level path is often converted into a smooth trajectory via trajectory optimization.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Motion planning operates within a broader ecosystem of algorithms, representations, and control systems. These related concepts define the constraints, inputs, and higher-level logic that shape the planning problem.
Task and Motion Planning (TAMP)
A hierarchical approach that decomposes a high-level symbolic task (e.g., 'make coffee') into a sequence of feasible motions. It integrates discrete task planning (logical operators, preconditions/effects) with continuous motion planning.
- Key Challenge: Managing the interdependence between discrete action sequences and continuous geometric feasibility.
- Example: A planner must decide to pick up a cup (task) and then compute a collision-free arm trajectory to the cup's location (motion).
Model Predictive Control (MPC)
An online, receding-horizon optimal control method. At each time step, MPC solves a finite-horizon optimization problem using a dynamic model of the system to predict future states, then executes only the first control input before re-planning.
- Contrast with Motion Planning: MPC is typically for short-horizon, dynamic control with frequent re-planning, while motion planning often computes a full path from start to goal.
- Use Case: Real-time balancing of a humanoid robot or trajectory tracking for a drone in wind.
Inverse Kinematics (IK)
The computational process of determining the joint angles required to position a robot's end-effector at a desired pose (position and orientation). It is a fundamental sub-problem within motion planning.
- Multiple Solutions: A single end-effector pose often maps to many joint configurations (kinematic redundancy).
- Integration: Motion planners frequently call IK solvers to check if a sampled end-effector goal or waypoint is kinematically achievable.
Configuration Space (C-Space)
The fundamental representation for motion planning. It is the space of all possible configurations of a robot, where each configuration is a complete specification of the position of every point on the robot.
- Obstacles: Physical obstacles in the workspace are mapped to forbidden regions in C-space (C-obstacles).
- Dimensionality: A robot's C-space has one dimension per degree of freedom (e.g., a 6-DOF arm has a 6D C-space). Planning algorithms search for a path in this space.
Probabilistic Roadmap (PRM)
A seminal sampling-based motion planning algorithm designed for multiple queries in static environments. It operates in two phases:
- Learning Phase: Randomly samples valid configurations in C-space and connects nearby samples with simple local paths to form a graph (the roadmap).
- Query Phase: Connects the start and goal configurations to the roadmap and searches the graph for a path.
- Strength: Efficient for complex, high-dimensional spaces once the roadmap is built.
Rapidly-exploring Random Tree (RRT)
A sampling-based algorithm designed for single-query planning in high-dimensional spaces. It incrementally builds a tree rooted at the start configuration by:
- Randomly sampling a point in C-space.
- Finding the nearest node in the existing tree.
- Extending the tree from that node toward the sample.
- *Variant (RRT)**: An asymptotically optimal version that rewires the tree to find increasingly better paths.
- Use: Standard for robotic arm and mobile robot path planning.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us