# 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, geometry-msgs, hardware-interface, hardware-interface-testing, nav-msgs, pluginlib, rclcpp, rclcpp-lifecycle, rcpputils, realtime-tools, ros2-control-test-assets, tf2, tf2-msgs }: buildRosPackage { pname = "ros-humble-diff-drive-controller"; version = "2.43.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/diff_drive_controller/2.43.0-1.tar.gz"; name = "2.43.0-1.tar.gz"; sha256 = "22135b7b52eb4ef5ca2e9c4596dad7ecd1d574e907df95b0dc4b179ae5d62efb"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake generate-parameter-library ]; checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ]; propagatedBuildInputs = [ backward-ros controller-interface geometry-msgs hardware-interface nav-msgs pluginlib rclcpp rclcpp-lifecycle rcpputils realtime-tools tf2 tf2-msgs ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = "Controller for a differential-drive mobile base."; license = with lib.licenses; [ asl20 ]; }; }