This repository provides a working simulation setup for a UR5e robot with a Robotiq 2F-85 gripper using ros2_control and MuJoCo. It is based on the moveit/mujoco_ros2_control framework.
- UR5e + Robotiq 2F-85 model using XML and URDF/XACRO
mujoco_ros2_controlintegration for controlling joints- MuJoCo as the physics engine
- Launch file to run the full simulation and controllers
- ROS2 (tested with Humble)
- MuJoCo 3.x
- mujoco_ros2_control
mkdir -p ~/mujoco_ros2_ws/src
cd mujoco_ros2_ws
git clone https://github.com/moveit/mujoco_ros2_control.git src/
cd src
git clone https://github.com/abuibaid/mujoco_ros2_ur.gitexport MUJOCO_DIR=/path/to/mujoco-3.x.xcd ~/mujoco_ros2_ws
rosdep install --from-paths src --ignore-src -r -y
colcon build
source install/setup.bashros2 launch mujoco_ros2_ur ur5e.launch.py