# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, backward-ros, controller-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-cmake, ros2-control-test-assets, std-msgs }: buildRosPackage { pname = "ros-rolling-forward-command-controller"; version = "5.0.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/forward_command_controller/5.0.0-1.tar.gz"; name = "5.0.0-1.tar.gz"; sha256 = "747f6693327f4a7a7b6b6a31c8470f42b41643810b0173ed6d1048e644c75a26"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ros2-control-cmake ]; checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ]; propagatedBuildInputs = [ backward-ros controller-interface generate-parameter-library hardware-interface pluginlib rclcpp rclcpp-lifecycle realtime-tools std-msgs ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = "Generic controller for forwarding commands."; license = with lib.licenses; [ asl20 ]; }; }