2023-12-22 13:30:27 +00:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2023-12-22 13:30:27 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-03-23 14:09:26 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, angles, backward-ros, control-msgs, control-toolbox, controller-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, parameter-traits, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, std-srvs }:
|
2023-12-22 13:30:27 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-pid-controller";
|
2024-05-24 14:00:52 +00:00
|
|
|
version = "4.8.0-r1";
|
2023-12-22 13:30:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-24 14:00:52 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/pid_controller/4.8.0-1.tar.gz";
|
|
|
|
name = "4.8.0-1.tar.gz";
|
|
|
|
sha256 = "ecd91abc973e39ba5ad1199a1816b03092f04b94e5ca9865ef19b350e1454753";
|
2023-12-22 13:30:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake generate-parameter-library ];
|
2024-02-16 13:29:45 +00:00
|
|
|
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ];
|
2024-03-23 14:09:26 +00:00
|
|
|
propagatedBuildInputs = [ angles backward-ros control-msgs control-toolbox controller-interface hardware-interface parameter-traits pluginlib rclcpp rclcpp-lifecycle realtime-tools std-srvs ];
|
2023-12-22 13:30:27 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "Controller based on PID implememenation from control_toolbox package.";
|
2023-12-22 13:30:27 +00:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|