Robot motion planning

MoveIt 2

MoveIt 2 plans and executes motion for robotic manipulators through a robot model, kinematics, collision checking and controller integration. It cannot correct an inaccurate URDF or missing hardware interface.

Practical engineering guide

What you can build with MoveIt 2 and where problems start

MoveIt 2 plans and executes motion for robotic manipulators through a robot model, kinematics, collision checking and controller integration. It cannot correct an inaccurate URDF or missing hardware interface.

A first test you can reproduce

  1. 01.Obtain a correct URDF with joint limits, collision geometry and the proper planning frame.
  2. 02.Run the MoveIt Setup Assistant to generate an SRDF, planning groups and configuration package.
  3. 03.Start with a simulated planning request and inspect the planned path for collisions and unreachable poses.
  4. 04.Configure the exact ros2_control / trajectory controller interface and test execution against reported joint states.

Questions that come up during real implementation

Why does MoveIt display my robot but fail to find a plan?

Inspect planning group membership, joint limits, valid start state, collision matrix, kinematic solver and target pose. A target reachable in a 3D visualizer might violate tool orientation, joint or collision constraints. Review planner diagnostics rather than changing the timeout first.

Why is planning successful but the real robot never moves?

A plan must be sent through an execution interface. Check FollowJointTrajectory action availability, controller names, joint order and state feedback. Validate whether the controller is active and the robot permits motion. A plan result alone does not command hardware.

How do I add a new gripper or tool?

Update URDF link geometry and SRDF end-effector data, regenerate configuration, verify tool frame and payload and retest collision checking. Planning with the old tool geometry can create unsafe clearance assumptions.

Checks before using it on a robot

  • Plan and execute a test near the workspace boundary.
  • Compare planned and measured joint trajectories including controller latency.

Compatibility and installation

Developer
MoveIt project
License
Open source
Operating systems
Linux
ROS support
ROS 2
Languages
C++, Python
Installation method
ROS packages and official source repositories

Profile sources

Explore the connected robotics directories