2021-05-28 23:33:17 +00:00
|
|
|
|
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, phidgets-msgs, rclcpp, rclcpp-components, sensor-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-galactic-phidgets-high-speed-encoder";
|
2021-08-06 13:28:56 +00:00
|
|
|
version = "2.2.1-r1";
|
2021-05-28 23:33:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-06 13:28:56 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/galactic/phidgets_high_speed_encoder/2.2.1-1.tar.gz";
|
|
|
|
name = "2.2.1-1.tar.gz";
|
|
|
|
sha256 = "b34fb8948fca836dec78b1b7ef46011e32e168ac7e0ad8cfe7fbff0581840a63";
|
2021-05-28 23:33:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
propagatedBuildInputs = [ launch phidgets-api phidgets-msgs rclcpp rclcpp-components sensor-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Driver for the Phidgets high speed encoder devices'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|