2022-12-09 19:20:15 -05:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-01-27 13:23:44 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, backward-ros, controller-manager, forward-command-controller, hardware-interface, pluginlib, rclcpp, ros2-control-test-assets }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-velocity-controllers";
|
2023-02-10 13:32:23 +00:00
|
|
|
version = "3.1.0-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-02-10 13:32:23 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/velocity_controllers/3.1.0-1.tar.gz";
|
|
|
|
name = "3.1.0-1.tar.gz";
|
|
|
|
sha256 = "e3072bbd90d6473a295ff25a65fd0e0864d1fb957e3e75408ac6429c1870c1d5";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake pluginlib ];
|
|
|
|
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface ros2-control-test-assets ];
|
2023-01-27 13:23:44 +00:00
|
|
|
propagatedBuildInputs = [ backward-ros forward-command-controller rclcpp ];
|
2022-12-09 19:20:15 -05:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Generic controller for forwarding commands.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|