quadruped_ros2_control/descriptions/quadruped_gazebo
Zhenbiao Huang 2e94c2eb32 init commit 2024-09-09 22:18:19 +08:00
..
config init commit 2024-09-09 22:18:19 +08:00
launch init commit 2024-09-09 22:18:19 +08:00
meshes init commit 2024-09-09 22:18:19 +08:00
urdf init commit 2024-09-09 22:18:19 +08:00
CMakeLists.txt init commit 2024-09-09 22:18:19 +08:00
LICENSE init commit 2024-09-09 22:18:19 +08:00
package.xml init commit 2024-09-09 22:18:19 +08:00
readme.md init commit 2024-09-09 22:18:19 +08:00

readme.md

Quadruped Gazebo

This package contains the description of the legged robot from Unitree Robotics, and the launch file to load them into the gazebo empty world.

Build

cd ~/ros2_ws
colcon build --packages-up-to quadruped_gazebo

Visualize the robot

To visualize and check the configuration of the robot in rviz, simply launch:

source ~/ros2_ws/install/setup.bash
ros2 launch quadruped_gazebo visualize.launch.py

The default model is a1. To use another robot model, add the following argument:

source ~/ros2_ws/install/setup.bash
ros2 launch quadruped_gazebo visualize.launch.py robot_type:=go1

Launch the robot in gazebo

source ~/ros2_ws/install/setup.bash
ros2 launch quadruped_gazebo gazebo.launch.py

To use another robot model, add the following argument:

source ~/ros2_ws/install/setup.bash
ros2 launch quadruped_gazebo gazebo.launch.py robot_type:=go1