quadruped_ros2_control/controllers/unitree_guide_controller
Huang Zhenbiao 6e2b77a5c8 fix rl controller problem at gazebo 2025-03-31 19:22:29 +08:00
..
include/unitree_guide_controller take FSM out as separate library 2025-02-27 21:45:29 +08:00
launch add and tested lidar simulation 2025-02-27 10:09:12 +08:00
src fix rl controller problem at gazebo 2025-03-31 19:22:29 +08:00
CMakeLists.txt take FSM out as separate library 2025-02-27 19:02:21 +08:00
README.md update README.md 2024-11-06 20:07:48 +08:00
package.xml take FSM out as separate library 2025-02-27 19:02:21 +08:00
unitree_guide_controller.xml achieved passive mode on unitree simulation 2024-09-10 22:30:30 +08:00

README.md

Unitree Guide Controller

This is a ros2-control controller based on unitree guide. The original unitree guide project could be found here. I used KDL for the kinematic and dynamic calculation, so the controller performance has difference with the original one (sometimes very unstable).

Tested environment:

  • Ubuntu 24.04
    • ROS2 Jazzy
  • Ubuntu 22.04
    • ROS2 Humble

1. Interfaces

Required hardware interfaces:

  • command:
    • joint position
    • joint velocity
    • joint effort
    • KP
    • KD
  • state:
    • joint effort
    • joint position
    • joint velocity
    • imu sensor
      • linear acceleration
      • angular velocity
      • orientation

2. Build

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

3. Launch

3.1 Mujoco Simulation

Warm Reminder: You need to launch Unitree Mujoco C++ Simulation before launch the controller.

source ~/ros2_ws/install/setup.bash
ros2 launch unitree_guide_controller mujoco.launch.py pkg_description:=go2_description

3.2 Gazebo Classic 11 (ROS2 Humble)

source ~/ros2_ws/install/setup.bash
ros2 launch unitree_guide_controller gazebo_classic.launch.py pkg_description:=go2_description

3.3 Gazebo Harmonic (ROS2 Jazzy)

source ~/ros2_ws/install/setup.bash
ros2 launch unitree_guide_controller gazebo.launch.py pkg_description:=go2_description