2019-03-21 00:14:59 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2019-03-21 00:14:59 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, geometry-msgs, roscpp }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-pr2-hardware-interface";
|
|
|
|
version = "1.8.18";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 12:26:32 -04:00
|
|
|
url = "https://github.com/pr2-gbp/pr2_mechanism-release/archive/release/melodic/pr2_hardware_interface/1.8.18-0.tar.gz";
|
|
|
|
name = "1.8.18-0.tar.gz";
|
2019-03-21 00:14:59 -04:00
|
|
|
sha256 = "abbcd1c6b4af9419057f2bb0b7f7677943e16e03abdd15933e41efdc16975247";
|
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2019-12-09 05:16:46 +00:00
|
|
|
propagatedBuildInputs = [ geometry-msgs roscpp ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This package contains the C++ interfaces to the PR2 hardware
|
|
|
|
components that are controlled over EtherCAT. This includes the
|
|
|
|
motors and encoders needed to control the PR2 mechanism, as well as
|
|
|
|
components like the pressure sensors in the fingertips, camera
|
|
|
|
triggers, etc... All of the hardware components in this interface are
|
|
|
|
directly available to the controllers inside the hard realtime
|
|
|
|
control loop.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|