2024-09-11 11:32:54 +08:00
|
|
|
# Unitree Go1 Description
|
2024-10-10 22:44:32 +08:00
|
|
|
|
2024-09-11 11:32:54 +08:00
|
|
|
This repository contains the urdf model of go1.
|
|
|
|
|
2024-10-01 13:48:49 +08:00
|
|
|
![go1](../../../.images/go1.png)
|
2024-09-30 20:02:56 +08:00
|
|
|
|
2024-09-11 11:32:54 +08:00
|
|
|
## Build
|
2024-10-10 22:44:32 +08:00
|
|
|
|
2024-09-11 11:32:54 +08:00
|
|
|
```bash
|
|
|
|
cd ~/ros2_ws
|
2024-10-10 21:22:58 +08:00
|
|
|
colcon build --packages-up-to go1_description --symlink-install
|
2024-09-11 11:32:54 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## Visualize the robot
|
2024-10-10 22:44:32 +08:00
|
|
|
|
2024-09-11 11:32:54 +08:00
|
|
|
To visualize and check the configuration of the robot in rviz, simply launch:
|
2024-10-10 22:44:32 +08:00
|
|
|
|
2024-09-11 11:32:54 +08:00
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch go1_description visualize.launch.py
|
|
|
|
```
|
|
|
|
|
2024-09-28 23:05:13 +08:00
|
|
|
## Launch ROS2 Control
|
2024-10-10 22:44:32 +08:00
|
|
|
|
|
|
|
### Mujoco Simulator
|
|
|
|
|
2024-09-28 23:05:13 +08:00
|
|
|
* Unitree Guide Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch go1_description unitree_guide.launch.py
|
|
|
|
```
|
|
|
|
* OCS2 Quadruped Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch go1_description ocs2_control.launch.py
|
|
|
|
```
|
2024-10-10 22:44:32 +08:00
|
|
|
|
|
|
|
### Gazebo Simulator
|
|
|
|
|
|
|
|
* Unitree Guide Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch go1_description gazebo_unitree_guide.launch.py
|
|
|
|
```
|