1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/crystal/depth-image-proc/default.nix

28 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-common, image-transport, class-loader, cv-bridge, sensor-msgs, ament-cmake-gtest, tf2-ros, image-geometry, message-filters, tf2, tf2-eigen, ament-lint-auto, stereo-msgs }:
buildRosPackage {
pname = "ros-crystal-depth-image-proc";
version = "2.0.0";
src = fetchurl {
url = https://github.com/ros2-gbp/image_pipeline-release/archive/release/crystal/depth_image_proc/2.0.0-0.tar.gz;
sha256 = "ffea92a4b087654cdee1786eda631c4a98b1e7725e9824630a5706a8309b2f58";
};
buildInputs = [ image-transport class-loader sensor-msgs message-filters cv-bridge tf2-ros image-geometry tf2 tf2-eigen stereo-msgs ];
checkInputs = [ ament-lint-auto ament-cmake-gtest ament-lint-common ];
propagatedBuildInputs = [ image-transport cv-bridge tf2-ros image-geometry tf2 tf2-eigen ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Contains nodelets for processing depth images such as those
produced by OpenNI camera. Functions include creating disparity
images and point clouds, as well as registering (reprojecting)
a depth image into another camera frame.'';
license = with lib.licenses; [ bsdOriginal ];
};
}