644 B
644 B
Unitree B2 Description
This repository contains the urdf model of b2.
Build
cd ~/ros2_ws
colcon build --packages-up-to b2_description
Visualize the robot
To visualize and check the configuration of the robot in rviz, simply launch:
source ~/ros2_ws/install/setup.bash
ros2 launch b2_description visualize.launch.py
Launch ROS2 Control
- Unitree Guide Controller
source ~/ros2_ws/install/setup.bash ros2 launch b2_description unitree_guide.launch.py
- OCS2 Quadruped Controller
source ~/ros2_ws/install/setup.bash ros2 launch b2_description ocs2_control.launch.py