2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, roscpp, catkin, pr2-mechanism-model, controller-interface }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-pr2-controller-interface";
|
|
|
|
version = "1.8.18";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/pr2-gbp/pr2_mechanism-release/archive/release/melodic/pr2_controller_interface/1.8.18-0.tar.gz;
|
|
|
|
sha256 = "0a6ffaecfd981a9b21e8895ac582bff371da30a6526c97a933827b9a97bf7607";
|
|
|
|
};
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
buildInputs = [ controller-interface pr2-mechanism-model roscpp ];
|
2019-03-21 00:14:59 -04:00
|
|
|
propagatedBuildInputs = [ controller-interface pr2-mechanism-model roscpp ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
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.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|