This repository contains a ROS2 control package for Mujoco simulation, offering the MujocoSystem
plugin to integrate ros2_control
with Mujoco. Additionally, it includes a node responsible for initializing the plugin, Mujoco rendering, and the simulation.
Follow these steps to install and run the project locally.
Make sure you have the following software installed if you are running on the local machine:
Before build this package configure environment variable for mujoco directory.
export MUJOCO_DIR=/PATH/TO/MUJOCO/mujoco-3.x.x
You can now compile the package using the following commands.
cd mujoco_ros2_control
source /opt/ros/${ROS_DISTRO}/setup.bash
colcon build
See the documentation for usage.
Here are several potential areas for future improvement:
-
Sensors: Implement IMU sensors, and range sensors.
-
Loading Model From URDF: Implement direct loading of models from URDF, eliminating the need to convert URDF files to XML.
Feel free to suggest ideas for new features or improvements.