mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
29 lines
1.1 KiB
Nix
29 lines
1.1 KiB
Nix
|
|
# Copyright 2022 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, controller-interface, pr2-mechanism-model, roscpp }:
|
|
buildRosPackage {
|
|
pname = "ros-noetic-pr2-controller-interface";
|
|
version = "1.8.21-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/pr2-gbp/pr2_mechanism-release/archive/release/noetic/pr2_controller_interface/1.8.21-1.tar.gz";
|
|
name = "1.8.21-1.tar.gz";
|
|
sha256 = "df620b6b8c062ebddcc12df1b44e4f8f68ccde059936d8ac3c7a3be9f9edce67";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
propagatedBuildInputs = [ controller-interface pr2-mechanism-model roscpp ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''This package specifies the interface to a realtime controller. A
|
|
controller that implements this interface can be executed by the
|
|
<a href="http://www.ros.org/wiki/pr2_controller_manager">controller
|
|
manager</a> in the real time control loop. The package basically
|
|
contains the C++ controller base class that all controllers need to
|
|
inherit from.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|