MoveIt is the most widely used open-source motion planning framework for robot arms built on the Robot Operating System (ROS). In manipulation and robotics more broadly, it combines inverse kinematics, motion planning, collision checking and trajectory processing into one software stack, so that a developer can ask an arm to reach a pose and receive a smooth, collision-free joint trajectory.
The current generation, MoveIt 2, runs on ROS 2 and is used on research platforms, collaborative robots and industrial arms alike. It is not a controller itself: it plans and supervises motion, while hardware drivers and controllers execute the resulting trajectories.
How MoveIt turns a goal into an arm trajectory
MoveIt converts a high-level goal into executable motion through a pipeline of plugins orchestrated by a central node called move_group. The goal can be a target pose for the end effector, a set of joint values or a named configuration such as a stored home position.
- The planning scene collects the robot state, attached objects and obstacles from sensors or manual definitions.
- A kinematics solver converts Cartesian goals into joint-space goals when needed.
- A motion planner searches for a collision-free path in joint space.
- Planning request adapters fix start-state issues and add timing to the geometric path.
- The trajectory is sent to ros2_control controllers, which drive the actual joints.
The robot model comes from a URDF file describing links and joints and an SRDF file defining planning groups, end effectors and pairs of links that never collide. A setup assistant generates these configuration files, which greatly shortens integration of a new arm.
The table below lists the main components and what each contributes.
| Component | Function | Typical default |
|---|---|---|
| move_group | Central node exposing planning services and actions | One per robot |
| Planning scene monitor | Maintains world and robot state | Octomap from depth sensors |
| Kinematics plugin | Solves forward and inverse kinematics | KDL, with TRAC-IK or IKFast options |
| Planner plugin | Finds collision-free paths | OMPL sampling-based planners |
| Collision checker | Tests states for contact | FCL library |
| Time parameterization | Adds velocities and accelerations | Time-optimal or iterative spline methods |
Motion planners available in MoveIt
MoveIt supports several planner families, and choosing among them is one of the most important configuration decisions. Each family trades speed, path quality and determinism differently.
Sampling-based planners from the Open Motion Planning Library, such as RRTConnect, find feasible paths quickly in cluttered spaces but produce jerky, nondeterministic results that need smoothing. Optimization-based planners refine a trajectory against cost terms. The Pilz industrial motion planner generates deterministic point-to-point, linear and circular motions familiar from industrial robot programming.
| Planner family | Strength | Weakness | Typical use |
|---|---|---|---|
| OMPL (RRTConnect, PRM) | Fast in cluttered scenes | Random, uneven paths | General collision avoidance |
| CHOMP | Smooth trajectories | Can stall in local minima | Refining existing paths |
| STOMP | No gradient needed | Slower convergence | Paths with custom costs |
| Pilz industrial planner | Deterministic, predictable | No obstacle search | Linear and circular moves |
| Cartesian path planning | Straight end-effector lines | Fails near singularities | Approach and retreat motions |
Planners can also be chained, for example running OMPL first and then refining the result with an optimizer, which combines fast feasibility with smoother final motion.
MoveIt and related manipulation concepts
MoveIt is a framework that implements several manipulation concepts rather than a concept in its own right. Understanding how it maps onto those concepts clarifies what it does and what it leaves to other software.
| Concept | Role in MoveIt | Coverage |
|---|---|---|
| Inverse kinematics | Kinematics plugins per planning group | Built in |
| Motion planning | Planner plugins in the pipeline | Built in |
| Collision checking | Planning scene and FCL queries | Built in |
| Trajectory planning | Time parameterization adapters | Built in |
| Grasp planning | Grasp poses supplied by external tools | Partial, via task constructor |
| Pick and place | Staged tasks with approach and lift | Through MoveIt Task Constructor |
The MoveIt Task Constructor extends the basic pipeline by describing a manipulation job as connected stages, such as approach, grasp, lift and place. It plans the stages jointly, which avoids the common failure where each motion is feasible on its own but the sequence cannot be completed.
Real-time servoing and hybrid planning
Beyond offline planning, MoveIt offers MoveIt Servo, a module for real-time Cartesian or joint jogging driven by joysticks, teleoperation devices or visual servoing. Servo updates commands at hundreds of hertz, checks for collisions and singularities on the fly, and slows the arm before it reaches a dangerous configuration.
Hybrid planning combines a global planner that computes a full path with a local planner that reacts to changes during execution. This structure suits dynamic environments, for example when a person enters the workspace of a collaborative arm and the trajectory must be adjusted without restarting the whole plan.
Limitations and common integration mistakes
MoveIt is powerful but not a turnkey solution. Its sampling-based defaults produce paths that differ from run to run, which can be unacceptable in production cells with cycle time requirements. It also assumes accurate models; a mismatch between the URDF and the real robot causes collisions or unreachable goals.
The table below lists frequent problems that integrators encounter, with their usual causes and fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Planning fails immediately | Start state in collision | Correct collision matrix or padding |
| IK finds no solution | Goal outside workspace or bad seed | Check reachability, try another solver |
| Erratic, looping paths | Raw sampling-based output | Enable smoothing or use an optimizer |
| Controller rejects trajectory | Velocity or acceleration limits exceeded | Align joint limits with hardware |
| Slow planning in clutter | Dense octomap or tight timeouts | Reduce resolution, raise planning time |
- MoveIt does not perform force control; contact-rich tasks need separate controllers.
- It is not a safety system; certified safety functions must run in the robot controller.
- Dynamic constraints such as payload torque limits are only approximated by joint velocity and acceleration limits.
Understanding it simply
A robot arm knows how to turn its motors, but it does not know how to get from one place to another without hitting things. MoveIt is the route planner for robot arms. It looks at where the arm is, where it should go and what obstacles are around, then works out a safe path.
Think of a navigation app that plans a route around closed roads. MoveIt does the same for an arm: it plans the movement and hands it to the motors, which then follow the plan step by step.
Applied in practice
A small electronics workshop installs a six-axis collaborative arm to move circuit boards from a conveyor into a testing fixture. The integrator generates the configuration with the setup assistant, adds the fixture and conveyor as collision objects and uses a depth camera to update the planning scene when parts or people appear.
Transfer motions between conveyor and fixture use OMPL with smoothing, while the final approach into the fixture uses a linear Cartesian move for precise insertion. A Task Constructor pipeline links pick, transfer and place into one plan. After tuning velocity scaling to 50 percent for safety, the cell achieves a consistent cycle of about 12 seconds per board without collisions during a month of operation.