2022-06-09 18:50:37 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-03-08 13:41:18 +00:00
|
|
|
{ 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 }:
|
2022-06-09 18:50:37 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-diff-drive-controller";
|
2024-12-27 13:14:54 +00:00
|
|
|
version = "2.39.0-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-12-27 13:14:54 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/diff_drive_controller/2.39.0-1.tar.gz";
|
|
|
|
name = "2.39.0-1.tar.gz";
|
|
|
|
sha256 = "901d4569d1b59c0043e42ba9c64ada6cde138ca0e90165035ebdf13dd03a73ac";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2023-06-19 17:15:23 -04:00
|
|
|
buildInputs = [ ament-cmake generate-parameter-library ];
|
2024-03-08 13:41:18 +00:00
|
|
|
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ];
|
2023-06-19 17:15:23 -04:00
|
|
|
propagatedBuildInputs = [ backward-ros controller-interface geometry-msgs hardware-interface nav-msgs pluginlib rclcpp rclcpp-lifecycle rcpputils realtime-tools tf2 tf2-msgs ];
|
2022-06-09 18:50:37 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-12-27 13:14:54 +00:00
|
|
|
description = "Controller for a differential-drive mobile base.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|