mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, geometry-msgs, roscpp }:
|
|
buildRosPackage {
|
|
pname = "ros-melodic-pr2-hardware-interface";
|
|
version = "1.8.18";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
sha256 = "abbcd1c6b4af9419057f2bb0b7f7677943e16e03abdd15933e41efdc16975247";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
propagatedBuildInputs = [ geometry-msgs roscpp ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
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.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|