2024-10-16 22:59:11 +08:00
|
|
|
# Anybotics Anymal_C Description
|
|
|
|
This repository contains the urdf model of lite3.
|
|
|
|
|
|
|
|
![anymal_c](../../../.images/anymal_c.png)
|
|
|
|
|
|
|
|
Tested environment:
|
|
|
|
* Ubuntu 24.04
|
|
|
|
* ROS2 Jazzy
|
|
|
|
|
|
|
|
## Build
|
|
|
|
```bash
|
|
|
|
cd ~/ros2_ws
|
|
|
|
colcon build --packages-up-to anymal_c_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 anymal_c_description visualize.launch.py
|
|
|
|
```
|
|
|
|
|
|
|
|
## Launch ROS2 Control
|
|
|
|
### Mujoco Simulator
|
|
|
|
* OCS2 Quadruped Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
2024-10-18 11:47:31 +08:00
|
|
|
ros2 launch ocs2_quadruped_controller mujoco.launch.py pkg_description:=anymal_c_description
|
2024-10-16 22:59:11 +08:00
|
|
|
```
|
|
|
|
* Legged Gym Controller
|
|
|
|
```bash
|
|
|
|
source ~/ros2_ws/install/setup.bash
|
|
|
|
ros2 launch anymal_c_description rl_control.launch.py
|
|
|
|
```
|