How to Create MoveIt Package for Robotic Arm – ROS English Tutorial


What are we going to Learn?

  1. How to create ROS2 Package
  2. How to compile ROS2 workspace
  3. How to create node in Python to spawn new object in Gazebo Simulation

List of Resources in this Post

  1. ROSJect Link:
  2. Robotic Arm Used as Resource:
  3. The Construct App:


ROS (Robot Operating System) is a de facto standard for Robotics. In order to program Robots, simulation of Real world systems is very important to test and debug the systems. MoveIt is most commonly used Motion Planning Library for Robotic Arms or Manipulators. In this tutorial we will create MoveIt Package for simple robotic arm.

Opening the ROSJect:

To follow along the post, we need to have ROS2 installed in our system. To make things easier, we have created ROSJect to follow along:

Next, fort the ROSJect and click Run. You will be presented with the interface like following.

In terminal, go to your workspace. by running the following command

cd catkin_ws/src

and then clone the resource Robotic arm Package from Github. by typing

git clone

Next run,

cd ..

and then run the ROS Workspace


Next, you need to install some MoveIt packages for ROS version.

sudo apt update

Then run,

sudo apt install ros-noetic-moveit

This will install MoveIt Motion Planning Library with ROS.

Creating MoveIt Package:

Now we are going to create MoveIt Package for our Robotic Arm. In the terminal, source your ROS Workspace.

cd /home/user/catkin_ws

source devel/setup.bash

After that,

roslaunch moveit_setup_assistant setup_assistant.launch

Click on “Create New MoveIt Configuration Package”. and select URDF File for package we have cloned in our ROS Workspace.

Next, go to “Planning Groups” and create new Group “Add Group”, and write name of group, kinematic solver and Group Default planner as follows

Then Create new Kinematic Chain, as follows

Then select joints for this group

and after that select Links for this Planning Group

After going through this step, we can configure various poses for Robotic Arm.

Next fill out some author information,

and generate the MoveIt Package.

Final Thoughts

Now that we have generated the MoveIt package for our robotic arm, next we will add custom controllers and hardware interfaces for simulating this in Gazebo. MoveIt is very practically useful tool for robotic arms as it can be used for motion planning, trajectory generation and solving Inverse Kinematics for Robotic arms.

Video Tutorial

Topics: moveit! | ROS
Masterclass 2023 batch2 blog banner

Check Out These Related Posts

129. ros2ai

129. ros2ai

I would like to dedicate this episode to all the ROS Developers who believe that ChatGPT or...

read more


Pin It on Pinterest

Share This