2021-01-22 13:37:51 +00:00
|
|
|
|
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-05-07 13:30:57 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-lint-auto, ament-lint-common, controller-manager, hardware-interface, joint-state-broadcaster, pluginlib, rclcpp, ros2-control-test-assets }:
|
2021-01-22 13:37:51 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-joint-state-controller";
|
2021-07-02 13:02:26 +00:00
|
|
|
version = "0.4.0-r1";
|
2021-01-22 13:37:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-02 13:02:26 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/foxy/joint_state_controller/0.4.0-1.tar.gz";
|
|
|
|
name = "0.4.0-1.tar.gz";
|
|
|
|
sha256 = "1254b40d094fa58ecd2d945179a20fd803a96b597b3bc0ab6ee072edfdc1be3a";
|
2021-01-22 13:37:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2021-05-07 13:30:57 +00:00
|
|
|
buildInputs = [ pluginlib ];
|
|
|
|
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common controller-manager hardware-interface rclcpp ros2-control-test-assets ];
|
|
|
|
propagatedBuildInputs = [ joint-state-broadcaster ];
|
2021-01-22 13:37:51 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Controller to publish joint state'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|