Home

Awesome

gz_ros2_control

ROS2 DistroBuild StatusPackage build
LicenceBuild StatusBuild Status

This is a ROS 2 package for integrating the ros2_control controller architecture with the Gazebo simulator. More information about ros2_control can be found here: https://control.ros.org/

This package provides a Gazebo-Sim system plugin which instantiates a ros2_control controller manager and connects it to a Gazebo model.

ROS versionGazebo versionBranchBinaries hosted atAPT key
HumbleFortresshumblehttps://packages.ros.orgros-humble-ign-ros2-control
JazzyHarmonicjazzyhttps://packages.ros.orgros-jazzy-gz-ros2-control
RollingHarmonicrollinghttps://packages.ros.orgros-rolling-gz-ros2-control

Build status

ROS 2 DistroBranchBuild statusDocumentation
Rollingrollinggazebo_ros2_control CI - RollingDocumentation <br /> API Reference
Jazzyjazzygazebo_ros2_control CI - JazzyDocumentation <br /> API Reference
Humblehumbleign_ros2_control CI - HumbleDocumentation <br /> API Reference

Documentation

See the documentation file or control.ros.org

Compile from source

Note that gz_ros2_control depends on the version of Gazebo that is provided by the Gazebo Vendor packages gz_plugin_vendor and gz_sim_vendor. Currently, for ROS 2 Jazzy and Rolling, the Gazebo version is Harmonic.

To compile gz_ros2_control from source, create a workspace, clone the correct branch of this repo and compile it:

mkdir -p ~/gz_ros2_control_ws/src
cd ~/gz_ros2_control_ws/src
git clone https://github.com/ros-controls/gz_ros2_control -b {ROS_DISTRO}
rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
cd ~/gz_ros2_control_ws
colcon build