2024-10-10 22:44:32 +08:00
|
|
|
# DeepRobotics Lite3 Description
|
2024-10-09 21:17:45 +08:00
|
|
|
This repository contains the urdf model of lite3.
|
|
|
|
|
2024-10-10 22:44:32 +08:00
|
|
|
![lite3](../../../.images/lite3.png)
|
|
|
|
|
2024-10-09 21:17:45 +08:00
|
|
|
Tested environment:
|
|
|
|
* Ubuntu 24.04
|
|
|
|
* ROS2 Jazzy
|
|
|
|
|
|
|
|
## Build
|
|
|
|
```bash
|
|
|
|
cd ~/ros2_ws
|
|
|
|
colcon build --packages-up-to lite3_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 lite3_description visualize.launch.py
|
|
|
|
```
|
|
|
|
|
|
|
|
## Launch ROS2 Control
|
|
|
|
### Mujoco Simulator
|
|
|
|
* Unitree Guide Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
2024-10-17 21:45:48 +08:00
|
|
|
ros2 launch unitree_guide_controller mujoco.launch.py pkg_description:=lite3_description
|
2024-10-09 21:17:45 +08:00
|
|
|
```
|
|
|
|
* OCS2 Quadruped Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch a1_description ocs2_control.launch.py
|
|
|
|
```
|
|
|
|
* Legged Gym Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch a1_description rl_control.launch.py
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Gazebo Simulator
|
|
|
|
* Unitree Guide Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
2024-10-17 21:45:48 +08:00
|
|
|
ros2 launch lite3_description gazebo.launch.py
|
2024-10-09 21:17:45 +08:00
|
|
|
```
|
|
|
|
* Legged Gym Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch lite3_description gazebo_rl_control.launch.py
|
|
|
|
```
|