quadruped_ros2_control/controllers/leg_pd_controller
Huang Zhenbiao 1a5baa354d fix for leg pd controller under ubuntu 24 2024-10-28 10:55:35 +08:00
..
include/leg_pd_controller fix leg controller in jazzy, simplified gazebo launch file 2024-10-20 12:42:34 +08:00
src fix for leg pd controller under ubuntu 24 2024-10-28 10:55:35 +08:00
CMakeLists.txt fix readme for gazebo classic 2024-10-28 10:26:18 +08:00
README.md add cyber dog 2024-09-20 17:56:00 +08:00
leg_pd_controller.xml add pd controller 2024-09-19 22:45:08 +08:00
package.xml add pd controller 2024-09-19 22:45:08 +08:00

README.md

Leg PD Controller

This package contains a simple PD controller for the leg joints of the quadruped robot. By using this controller, other ros2-control based on position control can also work on the hardware interface which only contain effort control (for example, gazebo ros2 control).

Tested environment:

  • Ubuntu 24.04
    • ROS2 Jazzy

1. Interfaces

Provided interfaces:

  • joint position
  • joint velocity
  • joint effort
  • KP
  • KD

Required hardware interfaces:

  • command:
    • joint effort
  • state:
    • joint position
    • joint velocity

2. Build

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

3. Run