2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-02-16 13:29:45 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, backward-ros, controller-manager, forward-command-controller, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, ros2-control-test-assets }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-position-controllers";
|
2024-12-27 13:14:54 +00:00
|
|
|
version = "4.18.0-r2";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-12-27 13:14:54 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/position_controllers/4.18.0-2.tar.gz";
|
|
|
|
name = "4.18.0-2.tar.gz";
|
|
|
|
sha256 = "7eaf0e0bb5e028b6dbfa46e48026a0c5a3032296f72d45ae8aa0ea1b5cab503b";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2023-03-17 13:53:56 +00:00
|
|
|
buildInputs = [ ament-cmake ];
|
2024-02-16 13:29:45 +00:00
|
|
|
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface hardware-interface-testing ros2-control-test-assets ];
|
2023-03-17 13:53:56 +00:00
|
|
|
propagatedBuildInputs = [ backward-ros forward-command-controller pluginlib rclcpp ];
|
2022-12-09 19:20:15 -05:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-12-27 13:14:54 +00:00
|
|
|
description = "Generic position controller for forwarding position commands.";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|