mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
29 lines
1.3 KiB
Nix
29 lines
1.3 KiB
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-lint-auto, ament-lint-common, class-loader, cv-bridge, image-geometry, image-transport, message-filters, rclcpp, rclcpp-components, sensor-msgs, stereo-msgs, tf2, tf2-eigen, tf2-ros }:
|
|
buildRosPackage {
|
|
pname = "ros-galactic-depth-image-proc";
|
|
version = "2.2.1-r3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/image_pipeline-release/archive/release/galactic/depth_image_proc/2.2.1-3.tar.gz";
|
|
name = "2.2.1-3.tar.gz";
|
|
sha256 = "01067921b1f955e708d67e48b5098e7e38c288b133f8593c1d7064723606dab6";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ class-loader message-filters ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ cv-bridge image-geometry image-transport rclcpp rclcpp-components sensor-msgs stereo-msgs tf2 tf2-eigen tf2-ros ];
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
meta = {
|
|
description = ''Contains components 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 ];
|
|
};
|
|
}
|