52 lines
1.2 KiB
Markdown
52 lines
1.2 KiB
Markdown
# Unitree Go1 Description
|
|
|
|
This repository contains the urdf model of go1.
|
|
|
|
![go1](../../../.images/go1.png)
|
|
|
|
## Build
|
|
|
|
```bash
|
|
cd ~/ros2_ws
|
|
colcon build --packages-up-to go1_description --symlink-install
|
|
```
|
|
|
|
## Visualize the robot
|
|
|
|
To visualize and check the configuration of the robot in rviz, simply launch:
|
|
|
|
```bash
|
|
source ~/ros2_ws/install/setup.bash
|
|
ros2 launch go1_description visualize.launch.py
|
|
```
|
|
|
|
## Launch ROS2 Control
|
|
|
|
### Mujoco Simulator
|
|
|
|
* Unitree Guide Controller
|
|
```bash
|
|
source ~/ros2_ws/install/setup.bash
|
|
ros2 launch unitree_guide_controller mujoco.launch.py pkg_description:=go1_description
|
|
```
|
|
* OCS2 Quadruped Controller
|
|
```bash
|
|
source ~/ros2_ws/install/setup.bash
|
|
ros2 launch ocs2_quadruped_controller mujoco.launch.py pkg_description:=go1_description
|
|
```
|
|
|
|
### Gazebo Classic 11 (ROS2 Humble)
|
|
|
|
* Unitree Guide Controller
|
|
```bash
|
|
source ~/ros2_ws/install/setup.bash
|
|
ros2 launch unitree_guide_controller gazebo_classic.launch.py pkg_description:=go1_description
|
|
```
|
|
|
|
### Gazebo Harmonic (ROS2 Jazzy)
|
|
|
|
* Unitree Guide Controller
|
|
```bash
|
|
source ~/ros2_ws/install/setup.bash
|
|
ros2 launch unitree_guide_controller gazebo.launch.py pkg_description:=go1_description
|
|
``` |