ROS 2 robot description package providing URDF, MuJoCo (MJCF), and ros2_control configurations for humanoid robots.
| Vendor | Robot | URDF | MJCF |
|---|---|---|---|
| Unitree | G1 | ✓ | ✓ |
| Agibot | X2 | ✓ | ✓ |
robot_description/
├── urdf/{vendor}/{robot}/
│ ├── main.urdf # Base URDF
│ ├── robot.xacro # Entry xacro (sim / real switch)
│ ├── ros2_control.xacro # ros2_control interfaces
│ ├── mujoco.xacro # MuJoCo simulation config
│ └── real.xacro # Real hardware config
├── meshes/{vendor}/{robot}/ # STL mesh files
├── mjcf/{vendor}/{robot}.xml # Native MuJoCo model
├── rviz/{vendor}/{robot}/main.rviz
└── launch/view_robot.launch.py
- ROS 2 (Humble or later)
xacrorobot_state_publisherjoint_state_publisher_guirviz2
# Default: Unitree G1
ros2 launch robot_description view_robot.launch.py
# Agibot X2
ros2 launch robot_description view_robot.launch.py \
organization:=agibot robot_type:=x2
# Load xacro with simulation mode
ros2 launch robot_description view_robot.launch.py \
organization:=unitree robot_type:=g1 urdf_name:=robot.xacro| Argument | Default | Options | Description |
|---|---|---|---|
organization |
unitree |
unitree, agibot |
Vendor name |
robot_type |
g1 |
g1, x2 |
Robot model |
urdf_name |
main.urdf |
Any URDF / xacro filename | URDF file to load |
rviz_config |
main.rviz |
Any RViz config filename | RViz configuration |
cd <your_ros2_workspace>
colcon build --packages-select robot_description
source install/setup.bashThis project is licensed under the MIT License.