This article assumes you are comfortable with the bash terminal, git and ROS1(Robot Operating System).
The first thing you will need is ROS1.
We will definitely tackle ROS2+moveit in a future article.
If you do not have ROS1 yet, have a look at my other post where I have setup a simple bash script that will install ROS for you with a single command.
After making sure ROS works, follow the steps below
mkdir -p /the/full/path/moveit_ws/src && cd /the/full/path/moveit_ws
catkin_make
git clone -b calibration_devel git@github.com:fmauch/universal_robot.git src/universal_robot
git clone https://github.com/UniversalRobots/Universal_Robots_ROS_Driver.git src/Universal_Robots_ROS_Driver
rosdep install --from-paths src --ignore-src -r -y
catkin_make
roslaunch ur_gazebo ur10e_bringup.launch
roslaunch ur10e_moveit_config ur10e_moveit_planning_execution.launch sim:=true
roslaunch ur10e_moveit_config moveit_rviz.launch rviz_config:=$(rospack find ur10e_moveit_config)/launch/moveit.rviz
You should now be able to simply click and drag the big green blob (or the arrows around it) to set your desired pose and click on the button Plan and Execute. Remember to set the planning group to manipulator.
Now that we have control over the robot, we can use this workspace to build more complex and super interesting packages on top of it. We will also have a look at the python interface to moveit call the moveit_commander.
Ideas? comments? suggestions for improvement?
Feel free to reach me on my E-mail