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.
Download, install and launch MoveIt 2
With ROS 2 Jazzy sourced and its package repository configured on Ubuntu 24.04, install MoveIt. Use the Setup Assistant to create a planning configuration for your robot, then test it with simulated or mock controllers first.
Download MoveIt 2sudo apt update
sudo apt install ros-jazzy-moveit
source /opt/ros/jazzy/setup.bash
ros2 launch moveit_setup_assistant setup_assistant.launch.pyA first test you can reproduce
- 01.Obtain a correct URDF with joint limits, collision geometry and the proper planning frame.
- 02.Run the MoveIt Setup Assistant to generate an SRDF, planning groups and configuration package.
- 03.Start with a simulated planning request and inspect the planned path for collisions and unreachable poses.
- 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.
Official technical reference
https://moveit.picknik.ai/main/doc/examples/setup_assistant/setup_assistant_tutorial.htmlCompatibility 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